Deck 1: An Overview of Computers and Logic

ملء الشاشة (f)
exit full mode
سؤال
Computer programmers often refer to memory addresses using hexadecimal notation.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Variable names may not begin with a digit,although usually they may contain digits.
سؤال
A magic number is a named constant whose meaning is not immediately apparent.
سؤال
The language translation software that converts a programmer's statements to binary form is called a ____.

A) processor
B) compiler
C) translator
D) central processing unit
سؤال
To use a computer program,you must first load it into the computer's ____.

A) memory
B) monitor
C) disk
D) software
سؤال
No matter which programming language a computer programmer uses,the language has rules governing its word usage and punctuation.
سؤال
____ are instruction sets written by programmers.

A) Tests
B) Outputs
C) Programs
D) Inputs
سؤال
A(n)____ is the sequence of steps necessary to solve any problem.

A) algorithm
B) pseudocode list
C) rhythm
D) problem statement
سؤال
____ are the two major components of any computer system.

A) Input and output
B) Monitors and printers
C) Keyboards and mice
D) Hardware and software
سؤال
External storage is needed to run a program but it is volatile.
سؤال
When you declare variables,you have the option of assigning initial values to them.
سؤال
Each programming language uses a piece of software to translate programming language statements into ____.

A) logic
B) syntax
C) object code
D) semantic code
سؤال
The ____ of a language are the rules that govern word usage and punctuation.

A) semantics
B) structure
C) syntax
D) logic
سؤال
In arithmetic statements,the rules of precedence can be overridden using parentheses.
سؤال
A program that is free of syntax errors will produce the correct results.
سؤال
The programmer's job can be broken down into five development steps.
سؤال
____ comprises the programs you use to manage your computer,including operating systems such as Windows,Linux,or UNIX.

A) System software
B) Hardware
C) Application software
D) Processing software
سؤال
Word-processing programs,spreadsheets,payroll and inventory programs,and even games are considered to be ____.

A) application software
B) system software
C) low-level programming languages
D) high-level programming languages
سؤال
____ is the process of walking through a program's logic on paper before you actually write the program.

A) Bench-checking
B) Bench-testing
C) Desk-checking
D) Desk-testing
سؤال
It is more common for uninitialized variables to have an a valid default value assigned to them,than it is for them to contain an unknown,or garbage value.
سؤال
You must always ____ a variable before you can use it for the first time in a program.

A) declare
B) reference
C) instantiate
D) announce
سؤال
A ____ variable can hold letters of the alphabet and other special characters such as punctuation marks.

A) character
B) numeric
C) string
D) alphabetic
سؤال
The ____ dictate the order in which operations in the same statement are carried out.

A) rules of execution
B) rules of order
C) rules of operation
D) rules of precedence
سؤال
You represent a decision in a flowchart by drawing a decision symbol,which is shaped like a ____.

A) diamond
B) parallelogram
C) rectangle
D) triangle
سؤال
The entire set of actions an organization must take to switch over to using a new program or set of programs is called ____.

A) turnover
B) renovation
C) translation
D) conversion
سؤال
____ is an English-like representation of the logical steps it takes to solve a problem.

A) Algorithm
B) Pseudocode
C) Code
D) Syntax
سؤال
An important feature of modern programming is the ability to build programs from smaller segments.This is known as ____.

A) monolithic
B) structured
C) independence
D) modularity
سؤال
___ is the process of updating programs after the programs are put into production.

A) Design
B) Implementation
C) Maintenance
D) Desk-checking
سؤال
Programming languages can recognize the end of data in a file automatically,through a(n)____ code that is stored at the end of the data.

A) diamond
B) exit
C) eof
D) end
سؤال
A(n)____ is a pictorial representation of logical steps it takes to solve a problem.

A) flowchart
B) algorithm
C) source program
D) diagram
سؤال
____ programming focuses on breaking down programming processes into manageable subtasks.

A) Functional
B) Procedural
C) Object-oriented
D) Structured
سؤال
A(n)____ value is a predetermined value that means "Stop the program!"

A) flag
B) sentinel
C) indicator
D) counter
سؤال
In many modern programming languages,the equal sign is the _______.

A) sentinel value
B) assignment operator
C) magic number
D) variable
سؤال
A(n)____ loop is a repeating flow of logic that never ends.

A) definite
B) finite
C) circling
D) infinite
سؤال
A variable's ____ describes the kind of values the variable can hold,how much memory the value occupies,and the types of operations that can be performed with the data stored there.

A) size
B) name
C) data type
D) value
سؤال
____ programming focuses on objects,or "things," and describes their attributes and behaviors.

A) Functional
B) Procedural
C) Object-oriented
D) Structured
سؤال
A ____ variable can have mathematical operations performed on it.

A) character
B) numeric
C) pointer
D) string
سؤال
____ are named memory locations,whose contents can vary over time.

A) Named constants
B) Constants
C) Literals
D) Variables
سؤال
In a flowchart,you use a ____ to represent a processing symbol.

A) diamond
B) parallelogram
C) rectangle
D) triangle
سؤال
____ a program is when a programmer can execute the program with some sample data to see whether the results are logically correct.

A) Planning
B) Coding
C) Maintaining
D) Testing
سؤال
When Jerry plans the solution to this programming problem,he will use one of two tools to help him.These tools are: ____.

A) algorithms and flowcharts
B) pseudocode and algorithms
C) code and algorithms
D) pseudocode and flowcharts
سؤال
Jerry needs to know more about the report.He asks Anna questions about what the report should look like and what other information should be included on the report.What part of the program development cycle is this?

A) Understanding the problem
B) Planning the logic
C) Coding the program
D) Interviewing about the problem
سؤال
After talking with Anna,Jerry has all the information he needs to move to the next step in the program development cycle.What is the next step?

A) Understanding the problem
B) Planning the logic
C) Coding the program
D) Installing the program
سؤال
What are the three major operations that computer hardware and software accomplish? Provide a brief explanation of each operation.
سؤال
Discuss rules for naming variables.
سؤال
Do programmers usually create both pseudocode and a flowchart for the same problem? Why or why not?
سؤال
The program is now in production.The Billing Department manager,Anna,asks Jerry to change the report to show only customers who owe more than $500 and who are more than 30 days overdue on their payments.What part of the program development cycle is this?

A) Planning the logic
B) Coding the program
C) Testing the program
D) Maintaining the program
سؤال
What are the arithmetic operators?
سؤال
After the program has been coded,compiled and is free of syntax errors,Jerry must now ____.

A) translate the code
B) test the program
C) put the program into production
D) maintain the program
سؤال
What are the rules of precedence?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: An Overview of Computers and Logic
1
Computer programmers often refer to memory addresses using hexadecimal notation.
True
2
Variable names may not begin with a digit,although usually they may contain digits.
True
3
A magic number is a named constant whose meaning is not immediately apparent.
False
4
The language translation software that converts a programmer's statements to binary form is called a ____.

A) processor
B) compiler
C) translator
D) central processing unit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
To use a computer program,you must first load it into the computer's ____.

A) memory
B) monitor
C) disk
D) software
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
No matter which programming language a computer programmer uses,the language has rules governing its word usage and punctuation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
____ are instruction sets written by programmers.

A) Tests
B) Outputs
C) Programs
D) Inputs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
A(n)____ is the sequence of steps necessary to solve any problem.

A) algorithm
B) pseudocode list
C) rhythm
D) problem statement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
____ are the two major components of any computer system.

A) Input and output
B) Monitors and printers
C) Keyboards and mice
D) Hardware and software
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
External storage is needed to run a program but it is volatile.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
When you declare variables,you have the option of assigning initial values to them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Each programming language uses a piece of software to translate programming language statements into ____.

A) logic
B) syntax
C) object code
D) semantic code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
The ____ of a language are the rules that govern word usage and punctuation.

A) semantics
B) structure
C) syntax
D) logic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
In arithmetic statements,the rules of precedence can be overridden using parentheses.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
A program that is free of syntax errors will produce the correct results.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
The programmer's job can be broken down into five development steps.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
____ comprises the programs you use to manage your computer,including operating systems such as Windows,Linux,or UNIX.

A) System software
B) Hardware
C) Application software
D) Processing software
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Word-processing programs,spreadsheets,payroll and inventory programs,and even games are considered to be ____.

A) application software
B) system software
C) low-level programming languages
D) high-level programming languages
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
____ is the process of walking through a program's logic on paper before you actually write the program.

A) Bench-checking
B) Bench-testing
C) Desk-checking
D) Desk-testing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
It is more common for uninitialized variables to have an a valid default value assigned to them,than it is for them to contain an unknown,or garbage value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
You must always ____ a variable before you can use it for the first time in a program.

A) declare
B) reference
C) instantiate
D) announce
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
A ____ variable can hold letters of the alphabet and other special characters such as punctuation marks.

A) character
B) numeric
C) string
D) alphabetic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
The ____ dictate the order in which operations in the same statement are carried out.

A) rules of execution
B) rules of order
C) rules of operation
D) rules of precedence
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
You represent a decision in a flowchart by drawing a decision symbol,which is shaped like a ____.

A) diamond
B) parallelogram
C) rectangle
D) triangle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
The entire set of actions an organization must take to switch over to using a new program or set of programs is called ____.

A) turnover
B) renovation
C) translation
D) conversion
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
____ is an English-like representation of the logical steps it takes to solve a problem.

A) Algorithm
B) Pseudocode
C) Code
D) Syntax
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
An important feature of modern programming is the ability to build programs from smaller segments.This is known as ____.

A) monolithic
B) structured
C) independence
D) modularity
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
___ is the process of updating programs after the programs are put into production.

A) Design
B) Implementation
C) Maintenance
D) Desk-checking
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Programming languages can recognize the end of data in a file automatically,through a(n)____ code that is stored at the end of the data.

A) diamond
B) exit
C) eof
D) end
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n)____ is a pictorial representation of logical steps it takes to solve a problem.

A) flowchart
B) algorithm
C) source program
D) diagram
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
____ programming focuses on breaking down programming processes into manageable subtasks.

A) Functional
B) Procedural
C) Object-oriented
D) Structured
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
A(n)____ value is a predetermined value that means "Stop the program!"

A) flag
B) sentinel
C) indicator
D) counter
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
In many modern programming languages,the equal sign is the _______.

A) sentinel value
B) assignment operator
C) magic number
D) variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
A(n)____ loop is a repeating flow of logic that never ends.

A) definite
B) finite
C) circling
D) infinite
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A variable's ____ describes the kind of values the variable can hold,how much memory the value occupies,and the types of operations that can be performed with the data stored there.

A) size
B) name
C) data type
D) value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
____ programming focuses on objects,or "things," and describes their attributes and behaviors.

A) Functional
B) Procedural
C) Object-oriented
D) Structured
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
A ____ variable can have mathematical operations performed on it.

A) character
B) numeric
C) pointer
D) string
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
____ are named memory locations,whose contents can vary over time.

A) Named constants
B) Constants
C) Literals
D) Variables
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
In a flowchart,you use a ____ to represent a processing symbol.

A) diamond
B) parallelogram
C) rectangle
D) triangle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
____ a program is when a programmer can execute the program with some sample data to see whether the results are logically correct.

A) Planning
B) Coding
C) Maintaining
D) Testing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
When Jerry plans the solution to this programming problem,he will use one of two tools to help him.These tools are: ____.

A) algorithms and flowcharts
B) pseudocode and algorithms
C) code and algorithms
D) pseudocode and flowcharts
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Jerry needs to know more about the report.He asks Anna questions about what the report should look like and what other information should be included on the report.What part of the program development cycle is this?

A) Understanding the problem
B) Planning the logic
C) Coding the program
D) Interviewing about the problem
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
After talking with Anna,Jerry has all the information he needs to move to the next step in the program development cycle.What is the next step?

A) Understanding the problem
B) Planning the logic
C) Coding the program
D) Installing the program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
What are the three major operations that computer hardware and software accomplish? Provide a brief explanation of each operation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
Discuss rules for naming variables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
Do programmers usually create both pseudocode and a flowchart for the same problem? Why or why not?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
The program is now in production.The Billing Department manager,Anna,asks Jerry to change the report to show only customers who owe more than $500 and who are more than 30 days overdue on their payments.What part of the program development cycle is this?

A) Planning the logic
B) Coding the program
C) Testing the program
D) Maintaining the program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
What are the arithmetic operators?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
After the program has been coded,compiled and is free of syntax errors,Jerry must now ____.

A) translate the code
B) test the program
C) put the program into production
D) maintain the program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
What are the rules of precedence?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.