stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CSDC101 Review Session Flashcards | StudBud
Explore
/
CSDC101 Review Session
CSDC101 Review Session
35 terms
·
StudBud Administration
·
52 plays
This is a review session as preparation for CSDC101's Preliminary Examination
Flashcards
35 cards
F
Practice quiz
P
Host live
L
Questions
35
Answers
1
Source code is written by programmers and is human-readable
True
False
2
This is the phase where programmers edit and write programs in an editor
create
preprocessing
linking
compiling
3
Which of the following is a correct way to use std::cout to display a message in C++?
std:: cout >> "Hi!";
cout << "Hi!";
std::cout << "Hi!";
std:cout << "Hi!";
4
The process of eliminating bugs is called?
running
compiling
executing
debugging
5
What type of error occurs when there is a violation of the programming language's rules, such as missing a semicolon?
syntax
debugging
logic
runtime
6
What was the original first name of the C++ programming language before it was renamed to "C++"?
C#
C+
C with Classes
C Plus Plus
7
Which of the following headers should you include to use the Input/Output streams in the C++ Standard Library?
<namespace>
<input-output>
<iostream>
main ()
8
What part allows the computer to communicate with its users?
CPU
ram
output devices
Input devices
9
This is the third phase in the creating and executing a C++ program
Linking
Executing
Loading
Compiling
10
This is an artificial and informal language that helps programmers develop algorithms.
source code
high-level languages
low-level language
pseudocode
11
How many bits are in a byte?
8
2
1
4
12
This is a component in the computer that executes instructions
Graphics Processing Unit
Memory
Motherboard
Central Processing Unit (CPU)
13
Which operator is used with cout to display the value of a variable?
=
+
>>
<<
14
Low-level languages are designed to be easy to read and write.
False
True
15
What part allows the computer to communicate with its users?
Output devices
CPU
Input devices
Memory
16
During the compile phase, what does the C++ compiler generate from the source code?
Executable Machine Code
object code
Source code
High-level code
17
This is a step-by-step procedure for solving a problem
Program
Software
Algorithm
Programming languages
18
In a flowchart, what does a rectangle with rounded corners represent?
A connector between flowchart elements
The start or end of the flowchart
A division point or condition
A process or action
19
An object code is an executable file
False
True
20
What symbol marks the end of a statement or a line in a C++ program?
period (.)
braces {}
double colon (::)
semi-colon (;)
21
Why was the C++ programming language developed?
To simplify web development
To add object-oriented programming features to C.
To create a more efficient assembly language.
To replace the C programming language.
22
This is the phase in creating and executing C++ programs when the program is performing its intended task
Compilation
Linking
Pre-processing
Execution
23
This refers to four consecutive binary digits or half of an 8-bit byte.
Bibble
Quibble
Dribble
Nibble
24
What is the function of cin in C++?
to add a newline to the program
to execute the program succesfully
to output data from the program
to accept the input from the standard input device i.e. keyboard
25
Low-level languages are closer to machine code and are harder for humans to read
True
False
26
In the load phase, what happens to the executable program?
It is checked for syntax errors.
It is preprocessed.
It is loaded into memory for execution.
It is converted to object code.
27
Bit is the smallest unit of data storage
False
True
28
Who is the creator of the C++ programming language?
Dennis Ritchie
Steve Jobs
Bjarne Stroustrup
Mark Zuckerberg
29
What is the function of cout in C++?
to execute the program
to display the output to the screen
to debug the program
to read input from the user
30
During which phase does the C++ handle directives such as #include?
pre-processing
loading
executing
compile
31
What is the standard symbol used in a flowchart to represent a decision or conditional statement?
diamond
oval
circle
rectangle
32
Who is the creator of the C programming language?
Steve Jobs
Dennis Ritchie
Mark Zuckerberg
Bjarne Stroustrup
33
Which phase of program execution involves executing the program's instructions on the computer's CPU?
loading
linking
create
execute
34
What is the PRIMARY FUNCTION of the Central Processing Unit (CPU)?
Display output
Store data
Execute instructions
Read input
35
What is the primary function of Random Access Memory (RAM) in a computer?
Running the Operating System
Long-term data storage
Temporary storage of data and programs
Providing power to the computer