Deck 2: Input, processing, and Output

ملء الشاشة (f)
exit full mode
سؤال
A ____________ is a name that represents a value that cannot be changed during the program's execution.

A)Uninitialized variable
B)Named variable
C)Named constant
D)Input variable
E)None of the above
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Programmers start writing code as the first step when they begin a new project.
سؤال
What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?

A)Program
B)Flowchart
C)Algorithm
D)Code
E)Pseudocode
سؤال
__________________ documentation is a reference guide that describes the features of the program,designed for the user.

A)Internal
B)External
C)Program
D)Block
E)Line
سؤال
The ____________ is a diagram that graphically depicts the steps that take place in a program.

A)Program
B)Flowchart
C)Algorithm
D)Code
E)Pseudocode
سؤال
Which mathematical operator is used to raise five to the second power?

A)MOD
B)*
C)^
D)/
E)~
سؤال
Which symbol is used for an assignment statement in a flowchart?

A)Processing
B)I/O
C)Terminal
D)Parallelogram
E)None of the above
سؤال
What is another term used for 'desk checking'?

A)Hand tracing
B)Debug
C)Execute
D)Run
E)Checking
سؤال
The process where the programmer steps through each of the program's statements one by one is called _____________.

A)Hand tracing
B)Debug
C)Execute
D)Run
E)Checking
سؤال
Which of the following is not an actual programming language?

A)C++
B)Visual Basic
C)Java
D)Pseudocode
E)Python
سؤال
The program development cycle is made up of ______ steps that are repeated until no errors can be found in the program.

A)Five
B)Four
C)Three
D)Six
E)None of these
سؤال
The structure of the camelCase naming convention is to write the first word of the variable name in lowercase letters and then to capitalize the first character of the second and subsequent words.
سؤال
The following is an example of what type of statement:
Set rate = 5.75

A)Declaration
B)Assignment
C)Input
D)Output
E)None of the above
سؤال
What term is used for a string that appears in the actual code of a program?

A)String literal
B)Virtual string
C)Hard copy
D)Strongly typed
E)None of the above
سؤال
What symbol is used to mark the beginning and end of a string?

A)Slash
B)Asterisk
C)Quotation
D)Comma
E)Question
سؤال
A _________ structure is a set of statements that execute in the order they appear.

A)Control
B)Repetition
C)Decision
D)Sequence
E)None of the above
سؤال
What is the first step of the program development cycle?

A)Write the code
B)Correct syntax errors
C)Debug the code
D)Test the executable code
E)Design the program
سؤال
Which of the following is not a variable data type?

A)Number
B)Integer
C)Real
D)String
E)None of the above
سؤال
The value of the expression 12 - 4 * 3 / 2 + 9 is _________.

A)21
B)15
C)-6
D)
E)None of the above
سؤال
Which error produces incorrect results but does not prevent the program from running?

A)syntax
B)logic
C)grammatical
D)human
E)None of the above
سؤال
Ovals are used as terminal symbols marking the starting and end of the pseudocode.
سؤال
A named constant can be assigned a value using a Set statement.
سؤال
A sequence of characters that is used as data is called a string in programming.
سؤال
A(n)_________________ is a set of well-defined logical steps that must be taken to perform a task.
سؤال
The __________________ symbol is used to represent the inputs and outputs in the steps of the program.
سؤال
A ________________ statement specifies the variable's name and the variable's data type.
سؤال
The ___________ operator performs division and returns the remainder.
سؤال
Most programming languages do not automatically print spaces between multiple items that are displayed on the screen.
سؤال
A ___________________ is a list of requirements created after studying the information gathered from interviews with the customer.
سؤال
_______________ software is characterized by programs whose clear displays and understandable prompts are easy to use.
سؤال
___________ comments take up several lines and are used when lengthy explanations are required in the program.
سؤال
An uninitialized variable is a variable that has been declared and automatically initialized to zero.
سؤال
The word ________________is used to declare a named constant.
سؤال
The expressions (a + b)/ c and a + b / c will always yield identical results.
سؤال
It has been proven by a group of mathematicians that all programs can be written using only three structures.
سؤال
The ____________ process occurs when the programmer finds and corrects the code that is causing the error(s).
سؤال
A variable is a storage location in memory that is represented by a name and can hold different values during the execution of the program.
سؤال
If you mistakenly write pseudocode into an editor for an actual programming language,such as Python or Visual Basic,errors will result.
سؤال
The comments the programmer places in the code explaining how different parts of the program work are known as _________________ documentation.
سؤال
Programmers use pseudocode to create 'mock-ups' of programs because they do not have to worry about syntax rules.
سؤال
A ______________ statement can be used to initialize multiple variables.
سؤال
Computer programs perform a __________ - step process.
سؤال
When a mathematical calculation is performed,you typically want to store the result of that calculation in a ______________.
سؤال
To determine a program's ______________ requirements,you must determine the pieces of data required for the program to complete its task.
سؤال
Programmers use operators to create __________________ expressions to perform calculations and return a value.
سؤال
In many programming languages,__________________ variables hold unpredictable values,but in other languages,a default value is assigned to such variables.
سؤال
A program's ______________ will typically be the result of the process or processes that it has performed.
سؤال
In the expression 57 * 6,the values 57 and 6,which are on the left and right of the * symbol,respectively,are called ____________.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/48
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: Input, processing, and Output
1
A ____________ is a name that represents a value that cannot be changed during the program's execution.

A)Uninitialized variable
B)Named variable
C)Named constant
D)Input variable
E)None of the above
C
2
Programmers start writing code as the first step when they begin a new project.
False
3
What is the informal language that programmers use to create models of programs that have no syntax rules and are not meant to be compiled or executed?

A)Program
B)Flowchart
C)Algorithm
D)Code
E)Pseudocode
E
4
__________________ documentation is a reference guide that describes the features of the program,designed for the user.

A)Internal
B)External
C)Program
D)Block
E)Line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
5
The ____________ is a diagram that graphically depicts the steps that take place in a program.

A)Program
B)Flowchart
C)Algorithm
D)Code
E)Pseudocode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which mathematical operator is used to raise five to the second power?

A)MOD
B)*
C)^
D)/
E)~
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which symbol is used for an assignment statement in a flowchart?

A)Processing
B)I/O
C)Terminal
D)Parallelogram
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
8
What is another term used for 'desk checking'?

A)Hand tracing
B)Debug
C)Execute
D)Run
E)Checking
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
9
The process where the programmer steps through each of the program's statements one by one is called _____________.

A)Hand tracing
B)Debug
C)Execute
D)Run
E)Checking
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which of the following is not an actual programming language?

A)C++
B)Visual Basic
C)Java
D)Pseudocode
E)Python
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
11
The program development cycle is made up of ______ steps that are repeated until no errors can be found in the program.

A)Five
B)Four
C)Three
D)Six
E)None of these
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
12
The structure of the camelCase naming convention is to write the first word of the variable name in lowercase letters and then to capitalize the first character of the second and subsequent words.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
13
The following is an example of what type of statement:
Set rate = 5.75

A)Declaration
B)Assignment
C)Input
D)Output
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
14
What term is used for a string that appears in the actual code of a program?

A)String literal
B)Virtual string
C)Hard copy
D)Strongly typed
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
15
What symbol is used to mark the beginning and end of a string?

A)Slash
B)Asterisk
C)Quotation
D)Comma
E)Question
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
16
A _________ structure is a set of statements that execute in the order they appear.

A)Control
B)Repetition
C)Decision
D)Sequence
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
17
What is the first step of the program development cycle?

A)Write the code
B)Correct syntax errors
C)Debug the code
D)Test the executable code
E)Design the program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following is not a variable data type?

A)Number
B)Integer
C)Real
D)String
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
19
The value of the expression 12 - 4 * 3 / 2 + 9 is _________.

A)21
B)15
C)-6
D)
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which error produces incorrect results but does not prevent the program from running?

A)syntax
B)logic
C)grammatical
D)human
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
21
Ovals are used as terminal symbols marking the starting and end of the pseudocode.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
22
A named constant can be assigned a value using a Set statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
23
A sequence of characters that is used as data is called a string in programming.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
24
A(n)_________________ is a set of well-defined logical steps that must be taken to perform a task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
25
The __________________ symbol is used to represent the inputs and outputs in the steps of the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
26
A ________________ statement specifies the variable's name and the variable's data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
27
The ___________ operator performs division and returns the remainder.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
28
Most programming languages do not automatically print spaces between multiple items that are displayed on the screen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
29
A ___________________ is a list of requirements created after studying the information gathered from interviews with the customer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
30
_______________ software is characterized by programs whose clear displays and understandable prompts are easy to use.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
31
___________ comments take up several lines and are used when lengthy explanations are required in the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
32
An uninitialized variable is a variable that has been declared and automatically initialized to zero.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
33
The word ________________is used to declare a named constant.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
34
The expressions (a + b)/ c and a + b / c will always yield identical results.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
35
It has been proven by a group of mathematicians that all programs can be written using only three structures.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
36
The ____________ process occurs when the programmer finds and corrects the code that is causing the error(s).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
37
A variable is a storage location in memory that is represented by a name and can hold different values during the execution of the program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
38
If you mistakenly write pseudocode into an editor for an actual programming language,such as Python or Visual Basic,errors will result.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
39
The comments the programmer places in the code explaining how different parts of the program work are known as _________________ documentation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
40
Programmers use pseudocode to create 'mock-ups' of programs because they do not have to worry about syntax rules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
41
A ______________ statement can be used to initialize multiple variables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
42
Computer programs perform a __________ - step process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
43
When a mathematical calculation is performed,you typically want to store the result of that calculation in a ______________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
44
To determine a program's ______________ requirements,you must determine the pieces of data required for the program to complete its task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
45
Programmers use operators to create __________________ expressions to perform calculations and return a value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
46
In many programming languages,__________________ variables hold unpredictable values,but in other languages,a default value is assigned to such variables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
47
A program's ______________ will typically be the result of the process or processes that it has performed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
48
In the expression 57 * 6,the values 57 and 6,which are on the left and right of the * symbol,respectively,are called ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 48 في هذه المجموعة.