Font size
WorksheetsComputer Programming
Total questions: 60
Worksheet time: 3600secs
What section of a Pascal program is used to declare variables and assign data types? ......
BEGIN
CONST
VAR
TYPE
The actual instructions for the program to run can be found after _____________
The 'WRITELN' statement
The 'VAR' statement
The 'BEGIN' statement
The 'CONST' statement
Which of the following is a valid Pascal output statement?
print('Hello Class!');
println('Hello Class!');
write("Hello Class!');
writeln('Hello Class!');
What is this ( := )?
The equal sign
The assignment operator
The assignment sign
The equal operator
In the programming language Pascal, which of the following is NOT a standard data type?
floating point
char
boolean
integer
What would be the result of the following Pascal statement?
write( 'Total is', 20 );
Total 20
Total = 20
20
Total is 20
Which statement is the correct one for input in Pascal?
input(num);
scanf(num)
readln(num);
inputln(num);
Which is the correct variable declaration statement?
name := string;
string : name;
name : string;
string := name;
Why do we use indentation in our program's code?
We have nothing better to do
It makes the program easier to understand
It's exciting
It makes the program more accurate
A variable that stores a collection of characters such as word, phrase or sentence is a(n):
integer
string
number
character
What is an algorithm?
A program
A series of steps to solve a problem
A list of items showing where data is stored
A list of instructions in programming code
Computers only understand binary (1s and 0s). Which programs change our programming instructions into binary? (There is more than one answer)
translator
Compiler
Pascal
Interpreter
What is true about variables? (There is more than one answer)
Variables represent a storage location in the computer
Variables are labelled using 1s and 0s
Variables may contain data we get from the user
Variables should be named for what they contain
Which picture can be best described as the principle of "algorithm"?
Machine language is kind of __________.
Low-level language
Procedural language
Object-oriented programming language
nonprocedural language
Which level of a programming language is Machine Code?
Low
High
Which level would create the easiest code for humans to understand?
Low
Assembly
High
A variable that stores a collection of characters such as word, phrase or sentence is a(n):
integer
string
number
character
Dalam menyusun suatu program pascal,langkah pertama yang harus di lakkukan adalah :
Membuat program
Membuat Algoritma
Membeli komputer
Mendesign Program
Mempelajari program
The ____________ determines whether the project should go
forward.
feasibility assessment
opportunity identification
system evaluation
program specification
Developer 1 = "There are a lot of BUGS in this software."
Developer 2 = "How did you know?"
Developer 1 = "Because we went through the ___________."
TESTING STAGE
DESIGN STAGE
DEVELOPMENT STAGE
PLANNING STAGE
Algorithms derived are implemented using a programming language in the ______________ phase.
Analysis
Design
Programming
Maintenance
Training occurs at this stage
Design
Maintenance
Programming
Implementation/Testing
Mostly syntax errors done by the programmer not following the rules of the programming language
Execution error
Logical Error
Compilation Error
System Error
(2) Prioritize the project requests;
(3) Allocate resources such as money, people, and equipment to approved projects;
(4) Form a project development team for each approved project.
These activities are found in
What is selection?
Repeating a number of steps
A decision point in a program
The order in which instructions are carried out
What is 1111 1111 in Denary?
225
244
255
222
wallpapers of windows 10
is windows 10 not have the camera app
true
false
Mobile OS
xp
iOS
linux
PCs use the ____________________ operating system.
Mac OS X
Apple
Macintosh
Microsoft Windows
__________________ is any set of instructions that tells the computer what to do and how to do it.
malware
software
hardware
spyware
