Exam 1: A First Program Using C

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags
Match each item with a statement below:
The value of an object's attributes at any point in time
logical error
A request for input that appears at the beginning of the command line
literal string
Adding when you should be multiplying
syntax
Correct Answer:
Verified
Premises:
Responses:
The value of an object's attributes at any point in time
logical error
A request for input that appears at the beginning of the command line
literal string
Adding when you should be multiplying
syntax
The line on which you type a command in a system that uses a text interface
whitespace
Any combination of spaces, tabs, and carriage returns (blank lines)
command prompt
The description of interaction between a method and an object
state of an object
A series of characters that will be used exactly as entered
interface
The rules of a high-level programming language
inheritance
The ability to extend a class to create a more specific class
command line
Free
(Matching)
4.9/5
(39)
Correct Answer:
Verified

The ____ method displays output on the screen and positions the cursor on the next line.

Free
(Multiple Choice)
4.9/5
(44)
Correct Answer:
Verified

D

Machine language is expressed as a series of 1s and 0s.

Free
(True/False)
4.9/5
(34)
Correct Answer:
Verified

True

Named computer memory locations are called ____________________ because they hold values that might vary.

(Short Answer)
4.9/5
(31)

Explain the main characteristics of encapsulation.

(Essay)
4.9/5
(26)

What are the requirements when choosing an identifier for a C# class?

(Essay)
4.9/5
(40)

____ represent(s) information that a method needs to perform its task.

(Multiple Choice)
4.9/5
(37)

When the keyword void is used in the Main() method header, it indicates that the Main() method is empty.

(True/False)
4.9/5
(30)

What are the types of comments supported by C#?

(Essay)
4.9/5
(31)

In programming languages, a variable is referenced by using a one-word name, which is called a(n) ____, with no embedded spaces.

(Multiple Choice)
4.7/5
(47)

The ____________________ of an object are the features it "has."

(Short Answer)
4.8/5
(34)

What are the features supported by object-oriented programming?

(Essay)
4.9/5
(36)

How would you compare C# with Java?

(Essay)
4.8/5
(35)

To achieve a working program that accomplishes the tasks it is meant to accomplish, you must remove all syntax and logical errors from the program. This process is called ____ the program.

(Multiple Choice)
4.8/5
(35)

When programmers do not capitalize the first letter of an identifier but do capitalize each new word, they call the style ____________________.

(Short Answer)
4.8/5
(35)

What is the meaning of the keyword static in C# in a method header?

(Essay)
4.9/5
(41)

The C# programming language was developed as an object-oriented and component-oriented language.

(True/False)
4.7/5
(35)

A method ____ includes the method name and information about what will pass into and be returned from a method.

(Multiple Choice)
4.9/5
(35)

____ is the technique of packaging an object's attributes and methods into a cohesive unit that can be used as an undivided entity.

(Multiple Choice)
4.7/5
(35)

Programmers use a computer program called a(n) ____ to translate their high-level language statements into machine code.

(Multiple Choice)
4.8/5
(29)
Showing 1 - 20 of 42
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)