Deck 9: Object-Oriented Design and High-Level Programming Languages
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/47
العب
ملء الشاشة (f)
Deck 9: Object-Oriented Design and High-Level Programming Languages
1
Which of the following translates and executes program statements in sequence, instead of having separate translation and execution steps?
A) Procedure
B) Interpreter
C) Bytecode
D) Paradigm
E) Compiler
A) Procedure
B) Interpreter
C) Bytecode
D) Paradigm
E) Compiler
B
2
Which of the following requires that only a value of the proper type can be stored into a variable?
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
B
3
Which of the following languages has an IF statement for making decisions?
A) Java
B) C++
C) Python
D) VB.NET
E) All of these are correct.
A) Java
B) C++
C) Python
D) VB.NET
E) All of these are correct.
E
4
Which of the following associates an identifier with a variable, an action, or some other entity within the language?
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following describes a key step in object-oriented programming?
A) Brainstorming the classes within a problem
B) Preventing objects from communicating with one another by prohibiting the invoking of one another's subprograms
C) Removing superfluous data values from a field
D) Deleting a named algorithm to prevent faulty manipulation in the object
E) None of these is correct.
A) Brainstorming the classes within a problem
B) Preventing objects from communicating with one another by prohibiting the invoking of one another's subprograms
C) Removing superfluous data values from a field
D) Deleting a named algorithm to prevent faulty manipulation in the object
E) None of these is correct.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
6
The goal of the scenarios phase of object-oriented problem solving is to assign responsibilities to each class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
7
A compiler and an interpreter produce the same output.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
8
Boolean expressions are used to make decisions in a high-level language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
9
A declaration is an example of a control structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
10
Polymorphism is the ability of a language to have duplicate method names in an inheritance hierarchy and to apply the method that is appropriate for the object to which the method is applied.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
11
In asynchronous processing, the processing is under the control of events occurring outside the sequence of processing instructions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
12
A(n) _______________ is a program that translates and executes the statements of a high-level language in sequence.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
13
The _______________ programming paradigm is based on the mathematical concept of a function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
14
A(n) _______________ is a sequence of characters that in some languages can be considered as one data value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
15
_______________ is an object-oriented mechanism that allows duplicate method names and the ability to apply the method that is appropriate for a certain object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
16
What is a Boolean variable?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
17
What is inheritance?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
18
Distinguish between imperative languages and declarative languages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following is executed by the Java Virtual machine?
A) Procedure
B) Interpreter
C) Bytecode
D) Paradigm
E) Compiler
A) Procedure
B) Interpreter
C) Bytecode
D) Paradigm
E) Compiler
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following produces a true or false result?
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following language paradigms allows the programmer to express algorithms derived from a top-down design?
A) Imperative (or procedural)
B) Functional
C) Logic
D) Object-oriented
A) Imperative (or procedural)
B) Functional
C) Logic
D) Object-oriented
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which of the following paradigms is based on the mathematical concepts of symbolic logic?
A) Imperative (or procedural)
B) Functional
C) Logic
D) Object-oriented
A) Imperative (or procedural)
B) Functional
C) Logic
D) Object-oriented
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which of the following is a language feature that enforces information hiding?
A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation
A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which of the following is a program that translates and executes statements in sequence?
A) Interpreter
B) Compiler
C) Input
D) Machine code
E) Bytecode
A) Interpreter
B) Compiler
C) Input
D) Machine code
E) Bytecode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which of the following creates an object from a class?
A) Encapsulation
B) Inheritance
C) Abstraction
D) Polymorphism
E) Instantiation
A) Encapsulation
B) Inheritance
C) Abstraction
D) Polymorphism
E) Instantiation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
26
The filtering phase of object-oriented problem solving determines which of the possible classes generated during brainstorming are the core classes in the problem solution.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
27
Modern compilers translate high-level language programs into the corresponding program in machine code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
28
The Java Virtual Machine is a hypothetical computer that executes Bytecode.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
29
Strong typing is a mechanism by which a high-level program is entered into a computer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
30
Encapsulation is a language feature that enforces information hiding.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
31
A paradigm is a model or pattern that establish a set of assumptions, concepts, values, and practices that constitute a way of viewing reality.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
32
Pseudocode is an expression used as a condition in selection and repetition statements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
33
A Boolean expression may be an arithmetic expression followed by an integer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which of the following includes selection statements and repetition statements?
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which of the following language paradigms is based on the mathematical concept of a function?
A) Imperative (or procedural)
B) Functional
C) Logic
D) Imperative (object oriented)
A) Imperative (or procedural)
B) Functional
C) Logic
D) Imperative (object oriented)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
36
Which of the following is the process of creating an object from a class?
A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation
A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
37
All of the following are considered simple or atomic data types, except:
A) integers.
B) reals.
C) characters.
D) Booleans.
E) lists.
A) integers.
B) reals.
C) characters.
D) Booleans.
E) lists.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following is a language construct that defines the pattern for an object?
A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation
A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
39
In the context of object-oriented problem solving, brainstorming is a group activity designed to produce a list of possible classes to be used to solve a particular problem.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
40
An interpreter is a simulator that executes high-level language code directly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
41
A Boolean expression can be an arithmetic expression followed by a relational operator followed by another arithmetic expression.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
42
A declaration associates the identifier with a variable, an action, or some other entity with the language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
43
Clicking a mouse is an example of asynchronous processing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
44
Java programs are translated into a standard machine language called _______________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
45
Lisp, Scheme, and ML are languages in the _______________ programming paradigm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
46
A(n) _______________ is a word in a language that has special meaning and thus cannot be used as an identifier.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
47
_______________ is an object-oriented mechanism in which one class is derived from another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck