Deck 1: A First Program Using C
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/42
العب
ملء الشاشة (f)
Deck 1: A First Program Using C
1
In programming languages, a variable is referenced by using a one-word name, which is called a(n) ____, with no embedded spaces.
A) behavior
B) bug
C) identifier
D) attribute
A) behavior
B) bug
C) identifier
D) attribute
C
2
When you write a(n) ____ program, you use your knowledge of a programming language to create and name computer memory locations that can hold values, and you write a series of steps or operations to manipulate those values.
A) object-oriented
B) component-oriented
C) event-driven
D) procedural
A) object-oriented
B) component-oriented
C) event-driven
D) procedural
D
3
A(n) ____ describes potential objects.
A) instance
B) class
C) attribute
D) state
A) instance
B) class
C) attribute
D) state
B
4
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.
A) debugging
B) compiling
C) commenting out
D) executing
A) debugging
B) compiling
C) commenting out
D) executing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
5
A ____ programming language allows you to use a vocabulary of reasonable terms such as "read," "write," or "add" instead of the sequence of on/off switches that perform these tasks.
A) high-level
B) machine-level
C) low-level
D) switch-level
A) high-level
B) machine-level
C) low-level
D) switch-level
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
6
For convenience, the individual operations used in a computer program often are grouped into logical units called ____.
A) attributes
B) methods
C) classes
D) structures
A) attributes
B) methods
C) classes
D) structures
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
7
Programmers use a computer program called a(n) ____ to translate their high-level language statements into machine code.
A) prompt
B) IDE
C) compiler
D) JIT
A) prompt
B) IDE
C) compiler
D) JIT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
8
The ____ behind any program involves executing the various statements and procedures in the correct order to produce the desired results.
A) GUI
B) attributes
C) methods
D) logic
A) GUI
B) attributes
C) methods
D) logic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
9
____ provides the ability to extend a class so as to create a more specific class.
A) Inheritance
B) Encapsulation
C) Polymorphism
D) Abstraction
A) Inheritance
B) Encapsulation
C) Polymorphism
D) Abstraction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
10
____ represent(s) information that a method needs to perform its task.
A) Literal strings
B) Primitive data
C) Arguments
D) Complex data
A) Literal strings
B) Primitive data
C) Arguments
D) Complex data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
11
____ is the technique of packaging an object's attributes and methods into a cohesive unit that can be used as an undivided entity.
A) Encapsulation
B) Polymorphism
C) Inheritance
D) Interface
A) Encapsulation
B) Polymorphism
C) Inheritance
D) Interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
12
Programmers sometimes refer to encapsulation as using a ____.
A) white box
B) black box
C) gray box
D) blue box
A) white box
B) black box
C) gray box
D) blue box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
13
C# programmers must use Pascal casing when creating method names to produce an executable program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
14
The C# programming language was developed as an object-oriented and component-oriented language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
15
The Visual Studio IDE gives you advanced features such as syntax coloring and automatic statement completion.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
16
A class describes the attributes and methods of every object that is a(n) ____, or example, of that class.
A) property
B) interface
C) instance
D) state
A) property
B) interface
C) instance
D) state
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
17
Machine language is expressed as a series of 1s and 0s.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
18
When programmers adopt the style of capitalizing the first letter of all new words in an identifier, even the first one, they call the style ____.
A) camel casing
B) upper casing
C) OOP casing
D) Pascal casing
A) camel casing
B) upper casing
C) OOP casing
D) Pascal casing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
19
Internally, computers are constructed from circuitry that consists of small on/off switches. The most basic circuitry-level language that computers use to control the operation of those switches is called ____.
A) syntax
B) machine language
C) compiler
D) program
A) syntax
B) machine language
C) compiler
D) program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
20
When the keyword void is used in the Main() method header, it indicates that the Main() method is empty.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
21
____________________ describes the ability to create methods that act appropriately depending on the context.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
22
What are the components of a C# method?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
23
void and static are examples of C# predefined ____.
A) classes
B) attributes
C) objects
D) keywords
A) classes
B) attributes
C) objects
D) keywords
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
24
A method ____ includes the method name and information about what will pass into and be returned from a method.
A) body
B) keyword
C) class
D) header
A) body
B) keyword
C) class
D) header
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
25
After you write and save a program, you must ____ it into intermediate language.
A) interpret
B) compile
C) comment
D) reduce
A) interpret
B) compile
C) comment
D) reduce
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
26
Explain the concept of methods in object-oriented programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
27
Explain the main characteristics of encapsulation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
28
A computer ____________________ is a set of instructions that you write to tell a computer what to do.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
29
The ____________________ of an object are the features it "has."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
30
What is the meaning of the keyword static in C# in a method header?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
31
____ are nonexecuting statements that you add to document a program.
A) Aliases
B) Program comments
C) Namespaces
D) Whitespaces
A) Aliases
B) Program comments
C) Namespaces
D) Whitespaces
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
32
Explain the main characteristics of inheritance.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
33
A(n) ____ is a construct that acts like a container to provide a way to group similar classes.
A) namespace
B) method
C) object
D) black box
A) namespace
B) method
C) object
D) black box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
34
Named computer memory locations are called ____________________ because they hold values that might vary.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
35
How would you compare C# with Java?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ____ method displays output on the screen and positions the cursor on the next line.
A) Write()
B) Println()
C) PrintLine()
D) WriteLine()
A) Write()
B) Println()
C) PrintLine()
D) WriteLine()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
37
What are the requirements when choosing an identifier for a C# class?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
38
What are the features supported by object-oriented programming?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
39
What are the attributes and state of an object?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
40
When programmers do not capitalize the first letter of an identifier but do capitalize each new word, they call the style ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
41
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck
42
What are the types of comments supported by C#?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 42 في هذه المجموعة.
فتح الحزمة
k this deck