NEW
Font size
WorksheetsThe SemiColons Quiz
Total questions: 25
Worksheet time: 10mins
Finding and fixing errors in a program.
Decompose
Digital footprint
Debugging
Variables
Which keyword is used to define a constant in C programming?
static
const
final
readonly
Which is NOT a programming language?
javaScript
Python
Microsoft
Fortran
In programming, a variable is a named storage location that holds a value or a reference to a value. And they are Easy To Remember.........
So In Basketball, what are good variables?
Score
If the team wins
If the team loses
Whether the team listens to the coach
If I say the word "Algorithm" I am talking about what?
When we all go to a store called Rithim.
Algae that can DANCE!!!
A new dance move.
A list of steps you follow to finish a task.
Programmers write code in high level language such as Python , C ++, Java that is further converted into low level language by Compiler or interpreter. So Which level would create the fastest code to execute?
High level
Low level
Medium level
Assembly language
The format identifier ‘%i’ is also used for _____ data type
char
int
float
double
What is wrong with the following "code/algorithm" for opening a bottle?
1. Grip cap with index finger and thumb
2. Remove cap
3. Twist counter-clock-wise until seal is broken
to many steps
not specific
function doesn't apply to every bottle
instructions are out of sequence
What is the purpose of a compiler or interpreter in the context of programming?
To convert high-level code into low-level code
To optimise code execution speed
To debug and fix errors in code
To provide a user-friendly interface for writing code
If you are wanting to add interactivity to a website, which language would you use?
C++
Fortran
Python
JavaScript
A web server is a software application that serves websites and web applications to clients over the internet through a remote computer
So what is not a function of a Web Server?
To host and serve websites and web applications
To manage databases
To provide internet connectivity
To manage all hardware resources
A person who writes code and communicates instructions to a computer.
Code
Programmer
Command
Program
What does IDE stand for?
Integrated Debugging Equipment
Integrated Debugging Environment
Integrated Development Equipment
Integrated Development Environment
What is the following code doing: TotalMarks = 8
Declaring a variable
Assigning a value to a variable
Performing a calculation
Finding the running total
What is programming?
Commands given to an animal
Commands given to a computer
Something on television
Something on a radio
Problems or mistakes in the code for an algorithm or program are known as:
Bugs
Slugs
Tugs
Rugs
Which programming language is commonly used to develop mobile games for iOS?
C#
Swift
Kotlin
JavaScript
What is a condition?
A rule that the computer must follow
A sequence of commands that are in good condition
An exception to a rule in coding
Nothing
Which programming language is commonly used to develop video games?
Java
Python
C++
RuBy
Which operator is used to assign a value to a variable in programming?
=
==
/=
+=
What is the purpose of a conditional statement in programming?
To execute a block of code repeatedly
To assign a value to a variable
To control the flow of execution based on a conditio
To perform arithmetic operations
Which statement is NOT correct?
Algorithm is a computer language that a computer understands.
Algorithm has a set of instructions to follow.
One of examples of algorithms is a cooking recipe.
To tell a computer to do something, a program must be written in a computer language.
What punctuation is used to indicate the beginning and end of code blocks? (In C and C++)
{ }
-> <-
BEGIN and END
( and )
When you tell the computer to repeat a command or step over and over and over and over and over and over and over and over and over and... oh yeah,
over again as many times as you tell to repeat.
Then What is it called??
Deja Vu
Loop
Repeating
Being annoying
