stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CSEC IT - EOT Christmas- Grand Final: Program Implementation, Mobile, Computer Specs Flashcards | StudBud
Explore
/
CSEC IT - EOT Christmas- Grand Final: Program Implementation, Mobile, Computer Specs
CSEC IT - EOT Christmas- Grand Final: Program Implementation, Mobile, Computer Specs
62 terms
·
StudBud Administration
·
19 plays
Imported from external platform
Flashcards
62 cards
F
Practice quiz
P
Host live
L
Questions
62
Answers
1
What is the primary function of a compiler?
To execute code line by line
To translate high-level source code into machine code
To debug errors in a program
To translate low-level code into machine code
2
What is the purpose of comments in code?
To make the code harder to read
To improve performance
To explain the code to others
To define functions
3
Which of the following best describes the "Process" section in an IPO chart?
It shows the algorithm or operations performed on the input
It defines the data types used
It shows how the input is obtained
It describes how the output is displayed
4
What happens if there is a syntax error in the code being compiled?
The assembler will correct the error automatically
The code is executed but produces incorrect results
The code will run in interpreted mode
The compilation process will stop, and an error message will be displayed
5
A 3 Ghz Compter with 3 Gb RAM is slower than a 2.5 Ghz computer with 6 Gb RAM.
True
False
6
When a program is compiled, what is the final output?
Source code
Intermediate code
Object code or executable file
Assembly language code
7
What is the main purpose of a mobile network's "base station"?
To provide wireless internet to desktop computers
To manage and store mobile user data
To provide physical access to the mobile network
To connect mobile devices to the network and handle communication traffic
8
What is the primary purpose of a loop in programming?
To define functions
To create user interfaces
) To store data
To execute a block of code multiple times
9
Which of the following is an advantage of using a compiler?
No need for an installation
Immediate feedback on errors
Faster execution speed of the compiled program
Easier debugging
10
In Mobile phone networks, a 5 G network requires that the towers to be closer than in a 4 G network
False
True
11
What is a variable in programming?
A collection of statements
A placeholder for a data value that can change
A type of function
A fixed value
12
GSM and not Wi-Fi is an example of a mobile network standard?
False
True
13
The code written by you, the programmer is called...
Machine Code
SOURCE code
OBJECT Code
Low level Code
14
Which of the following is
NOT
a typical benefit of using pseudocode?
It helps in identifying logic errors in the program design
It allows easy communication of algorithm steps
It helps plan the structure of a program before coding
It is machine-readable and can be executed
15
A solid-state drive (SSD) is generally slower than a hard disk drive (HDD) in terms of data access speed.
False
True
16
Wjhich o fthe following is an example of a literal string?
3.144
"you are Successful"
IF Count > Num Then
Average / 10
17
Which loop is best for working with Arrays?
FOR loop
REPAET Loop
WHILE loop
18
What does a syntax error indicate in a program?
The program has errors that prevent it from running
The program is too complex to understand
The program runs but produces incorrect results
The program has errors that prevent it from compiling
19
A computer is essentially any electronic device that perform 2 functions.
True
False
20
Which loop test its condition at the beginning of the loop?
For loop
While loop
Repeat loop
IF loop
21
A computer virus is a program designed to replicate itself and spread to other computers, potentially causing damage.
False
True
22
What is the main advantage of using a
high-level programming language
over a
low-level programming language
?
High-level languages are easier to learn and use
High-level languages allow direct access to hardware
High-level languages are more efficient in terms of execution speed
High-level languages require less memory
23
What is the primary function of an IPO chart?
To calculate mathematical values
To define the user interface of a program
To show the flow of the program
To describe how a program handles input, processes it, and produces output
24
RAM (Random Access Memory) is a type of permanent storage used to store programs and files on a computer.
False
True
25
Which loop the statements are likely to be executed at least once?
While loop
Repeat loop
For loop
IF loop
26
A graphical user interface (GUI) allows users to interact with a computer using text commands only.
False
True
27
What is an assembler used for?
Converting high-level languages to low-level languages
Executing machine code directly
Writing high-level programming code
Translating assembly language into machine code
28
Which type of programming languages typically require an assembler?
Scripting languages
Low-level languages
High-level languages
Markup languages
29
Which symbol is commonly used to denote the start and end of a flowchart?
Diamond
Rectangle
Rhombus
Rounded rectangle
30
Which of the following statements is
TRUE
about
machine language
?
It requires a compiler to be converted to high-level language
It is a human-readable language
It is a human-readable language
It is written using binary bits
31
Which of the following statements about debugging is true?
It is not necessary for small programs.
It can be done without running the program.
It involves identifying and fixing errors in the code.
It is only done after the program is complete.
32
which of the three programming loops, have a natural in build counter?
IF...THEN...ELSE loop
REPEAT Loop
WHILE loop
FOR Loop
33
An operating system (OS) manages computer hardware and software resources and provides services for computer programs.
False
True
34
Which of the following is a key difference between compilers and interpreters?
Interpreters cannot handle errors in the code.
Compilers are easier to use than interpreters
Compilers execute code faster than interpreters
Interpreters produce an executable file (object code)
35
Which of the following represents the correct sequence of steps to create a flowchart for a program?
Write pseudocode → Create flowchart → Code the program → Design the program
Write pseudocode → Design the program → Create flowchart → Code the program
Design the program → Create flowchart → Write pseudocode → Code the program
Design the program → Write pseudocode → Create flowchart → Code the program
36
In the context of arrays, what does the term "index" refer to?
The position of an element in the array
The value stored in the array
The data type of the array
The number of elements in the array
37
What does an algorithm primarily consist of?
Functions and procedures
Steps to solve a problem
Variables and constants
Syntax and semantics
38
Which of the following data types can store a sequence of characters in PASCAL?
Integer
Real
String
Char
39
What type of error occurs when the program logic is incorrect, leading to incorrect output?
Logic error
Compilation error
Runtime error
Syntax error
40
Which of the following is a characteristic of a
high-level programming language
?
It directly interacts with hardware
It is close to human language
It uses machine code
41
What is a trace table used for in programming?
To document the steps in an IPO chart
To describe how data is processed
To simulate and track variable values changing during program execution
To display the final output of a program
42
What does an array allow you to do in programming?
Store multiple values of different data types
Perform calculations
Store multiple values of the same type data
Store a single value of any data type
43
Which flowchart symbol is commonly used to denote a decision?
Rounded rectangle
Rectangle
Diamond
Rhombus
44
Which of the following data types is typically used to represent whole numbers?
loat
Integer
Char
String
45
19 DIV 5 =
3
0.8
4
3.8
46
The figure is an example of a ___________ programming language?
Machine Language
High level
Assembly language
Low Level
47
Which of the following is NOT a characteristic of a good user Prompt?
Consistency
Complexity
Feedback
Clarity
48
How is an AND logical operator used in a condition?
It inverts the condition
It checks if all conditions are true
It checks if only one condition is true
It checks if either condition is true
49
You declared the data type of a variable as Integer, and your test data has 3.142, what would you expect when it is run?
Logic error
Runtime error
syntax error
Compilation error
50
Which of the following is an example of a Boolean expression?
IF x > 10 Then
writeln("Hello")
root := 12 mod 4
x := 5 + 3
51
Which of the following is an example of a control structure in programming?
Loops
String
Variables
functions
52
What is the primary purpose of pseudocode in programming?
To visually represent the logic of a program in a human-readable format
To write code that can be directly executed
To translate high-level code into machine code
To test a program for errors
53
Which of the following statements about computer language Interpreters is TRUE?
They only work with low-level programming languages
They translate the entire program at once
They translate & execute code line by line
They produce object code
54
A CPU (Central Processing Unit) is responsible for performing calculations and executing instructions in a computer.
False
True
55
Which of the following is an example of a
low-level programming language
?
PASCAL
C++
ASSEMBLY
JAVA
56
Which loop, test its condition at the end of the loop?
While loop
For loop
Repeat loop
IF loop
57
It is better to use a 3 Ghz, 3 Gb RAM computer with AUTOCAD than a 3 Ghz computer with 6 Gb RAM.
True
False
58
The flowchart symbol below indicates...
A decision
An Input or Output
A process
Start or Stop
59
What is the purpose of a flowchart in programming?
To write the actual code
To describe how variables interact
To visually represent the logic and flow of a program
To create a user interface
60
What does an IPO chart represent in program design?
Identify, Process, Output
Initialize, Process, Output
Input, Print, Output
Input, Process, Output
61
Which of the following statements about debugging is true?
) It involves identifying and fixing errors in the code
It can be done without running the program
It is not necessary for small programs
It is only done after the program is complete
62
Which of the following columns is typically included in a trace table?
Input variables
All of the above
Conditions tested
Output variables