Deck 1: Introduction to Computer and C++ Programming
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/56
العب
ملء الشاشة (f)
Deck 1: Introduction to Computer and C++ Programming
1
A memory address is
A) Where a variable is stored
B) Where the computer is located
C) A step in the program.
D) Where the CPU is stored.
A) Where a variable is stored
B) Where the computer is located
C) A step in the program.
D) Where the CPU is stored.
A
2
A set of instructions that the computer will follow is called a _____________.
program
3
The physical machines that make up a computer is called the
A) Software
B) Network
C) Devices
D) CPU
E) Hardware
A) Software
B) Network
C) Devices
D) CPU
E) Hardware
E
4
A mistake in a computer program is called a ______________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
5
If your program compiles and runs, but gives an incorrect output, this is known as a _________ error.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
6
A digit that can hold a zero or a one is known as a ___________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
7
An algorithm is
A) The inputs and outputs of a program
B) The part of the computer that does the processing
C) A finite set of steps to solve a problem
D) A complete computer program
A) The inputs and outputs of a program
B) The part of the computer that does the processing
C) A finite set of steps to solve a problem
D) A complete computer program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
8
Computers that are interconnected are known as a _____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
9
The part of the computer that controls and executes programs is called the _______.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
10
What punctuation signifies the end of a C++ statement? _____________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
11
A computer that is normally used by only one person at a time is called a
A) Server
B) Mainframe
C) Personal Computer
D) Network
A) Server
B) Mainframe
C) Personal Computer
D) Network
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
12
A mistake that is a direct violation of the syntax rules will generate a compiler ________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
13
Errors in a program can be classified into three types, list them
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
14
A variable that can hold a whole number is called an) ____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
15
A __________ is the program that translates a program written in C++ into machine language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
16
The collection of programs used by the computer is known as ______________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
17
What does the following statement in C++ print to the screen?
cout << "Hello students\n";
cout << "Hello students\n";
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
18
Who was the programmer for Charles Babbage's analytical engine?
A) Grace Hopper
B) Ada Lovelace
C) Lord Bryan
D) Walter Savitch
A) Grace Hopper
B) Ada Lovelace
C) Lord Bryan
D) Walter Savitch
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
19
List at least two input devices ____________ _________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
20
List at least two output devices ______________ _____________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
21
Who designed the first programmable computer?
A) IBM
B) Microsoft
C) Intel
D) Babbage
E) Dell
A) IBM
B) Microsoft
C) Intel
D) Babbage
E) Dell
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
22
The term OS stands for
A) Operating System
B) Oscillating System
C) Operations Services
D) Nothing
A) Operating System
B) Oscillating System
C) Operations Services
D) Nothing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
23
What does the following line of code display to the screen?
Cout << "This is the computer\n programming book\n";
A) This is the computern programming book
B) This is the computer
C) Nothing
D) This is the computer programming book
Cout << "This is the computer\n programming book\n";
A) This is the computern programming book
B) This is the computer
C) Nothing
D) This is the computer programming book
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
24
cin >> number;
A) is an output statement
B) is an input statement
C) is a variable declaration
D) is a program
A) is an output statement
B) is an input statement
C) is a variable declaration
D) is a program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which of the following is not an example of a program bug?
A) Run-time error
B) Operator error
C) Syntax error
D) Logic error
A) Run-time error
B) Operator error
C) Syntax error
D) Logic error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
26
C++ statements end with a
A) Period
B) Comma
C) Semicolon
D) Nothing
A) Period
B) Comma
C) Semicolon
D) Nothing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
27
#include
A) is a variable declaration
B) an executable statement
C) an include directive
D) illegal code
A) is a variable declaration
B) an executable statement
C) an include directive
D) illegal code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
28
A finite sequence of precise instructions that leads to a problem solution is
A) A program
B) The CPU
C) A List of Inputs and Outputs
D) An Algorithm
A) A program
B) The CPU
C) A List of Inputs and Outputs
D) An Algorithm
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following is not part of the Software Life Cycle?
A) Analysis
B) Design
C) Data Entry
D) Implementation
E) Testing
A) Analysis
B) Design
C) Data Entry
D) Implementation
E) Testing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
30
The set of instructions that a computer will follow is known as:
A) Hardware
B) Algorithm
C) Program
D) CPU
A) Hardware
B) Algorithm
C) Program
D) CPU
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
31
The anagram CPU stands for
A) Computer Programming Unit
B) Central Processing Unit
C) Central Program User
D) Computer Paper User
A) Computer Programming Unit
B) Central Processing Unit
C) Central Program User
D) Computer Paper User
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
32
int number;
A) is an output statement
B) is an input statement
C) is a variable declaration
D) is a program
A) is an output statement
B) is an input statement
C) is a variable declaration
D) is a program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
33
What does the following code print to the screen?
Cout << "hello";
A) Hello
B) hello
C) HELLO
D) Nothing
Cout << "hello";
A) Hello
B) hello
C) HELLO
D) Nothing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
34
The output of the compiler is called
A) The program
B) Source code
C) Linked code
D) Object code
A) The program
B) Source code
C) Linked code
D) Object code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
35
One of the biggest difference between C and C++ is:
A) C is object-oriented
B) C++ is object-oriented
C) All C++ programs are also C programs
D) C only runs on UNIX computers
A) C is object-oriented
B) C++ is object-oriented
C) All C++ programs are also C programs
D) C only runs on UNIX computers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
36
From which language did C++ directly evolve?
A) A
B) Ada
C) C
D) C+
E) C-
A) A
B) Ada
C) C
D) C+
E) C-
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which of the following is not a phase of the program-design process?
A) Problem-solving
B) Implementation
C) Marketing the final program
A) Problem-solving
B) Implementation
C) Marketing the final program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
38
Who developed C++?
A) Bjarne Stroustrup
B) Ken Thompson
C) Charles Babbage
D) Ada Lovelace
A) Bjarne Stroustrup
B) Ken Thompson
C) Charles Babbage
D) Ada Lovelace
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
39
What does the following print to the screen?
Cout << "Hello Students/n";
A) Hello Students
B) hello Students
C) HELLO STUDENTS
D) Hello Students/n
Cout << "Hello Students/n";
A) Hello Students
B) hello Students
C) HELLO STUDENTS
D) Hello Students/n
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
40
cout << "How many items would you want?\n";
A) is an output statement
B) is an input statement
C) is a variable declaration
D) is a program
A) is an output statement
B) is an input statement
C) is a variable declaration
D) is a program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
41
It is considered better style to put the braces {}) on separate lines.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
42
What is wrong with the following statement?
Cout << "Hello to everyone\n"
A) cout should be count
B) missing a semicolon
C) missing a "
D) missing a
Cout << "Hello to everyone\n"
A) cout should be count
B) missing a semicolon
C) missing a "
D) missing a
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
43
The printer is an example of an input device.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
44
A byte consists of how many bits?
A) 6
B) 7
C) 8
D) 9
E) 10
A) 6
B) 7
C) 8
D) 9
E) 10
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
45
C++ is a low-level language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
46
Grace Hopper discovered the first documented computer bug.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
47
An algorithm is always written in C++
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
48
The following statement is legal:
cout >> "Hello, my name is Bill\n";
cout >> "Hello, my name is Bill\n";
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
49
There are 8 bytes in one bit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
50
The most recent standardized version of C++ is called:
A) ANSI C++
B) C++03
C) C++11
D) ISO C++
A) ANSI C++
B) C++03
C) C++11
D) ISO C++
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
51
What is wrong with the following statement?
Cout << "Hello to everyone\n;
A) cout should be count
B) missing a semicolon
C) missing a "
D) missing a
Cout << "Hello to everyone\n;
A) cout should be count
B) missing a semicolon
C) missing a "
D) missing a
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
52
You should write your program before you write the algorithm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
53
C++ is an example of a
A) Machine language
B) High-level language
C) Low-level language
D) Assembly language
A) Machine language
B) High-level language
C) Low-level language
D) Assembly language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
54
The compiler will catch all your programming mistakes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
55
RAM stands for
A) Read access memory
B) Random access memory
C) Really atrocious memory
D) A hard drive
A) Read access memory
B) Random access memory
C) Really atrocious memory
D) A hard drive
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck
56
Main memory holds its data if the computer is turned off
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 56 في هذه المجموعة.
فتح الحزمة
k this deck