Worksheetsquiez informatika XII
Total questions: 25
Worksheet time: 13mins
A good algorithm has the following properties, except …
Definite
Finite
Efficient
Ambiguous
Structured
Pseudocode is used to …
Draw a program flow using symbols
Create a program that is directly executable by a computer
Explain program logic using simple language
Replace high-level programming languages
Create a user interface
The ordered steps in an algorithm are called …
Iteration
Sequencing
Decision
Branching
Debugging
The algorithm structure that uses repetition is called …
Branching
Iteration
Sequential
Modular
Recursion
In a flowchart, the diamond-shaped symbol is used for …
Output
Input
Process
Decision
Terminal
If an algorithm never halts, the finite property is not satisfied. An example is …
A program that computes the area of a rectangle
A loop with no stopping condition
A program that prints “Hello World” once
A simple branching program
A data-sorting program
The algorithm for searching data in a list sequentially is called …
Binary Search
Sequential Search
Bubble Sort
Quick Sort
Merge Sort
The final stage in creating an algorithm before coding is …
Problem analysis
Creating a flowchart/pseudocode
Program implementation
Program testing
Documentation
In a flowchart, the oval symbol represents …
Input
Output
Process
Start/End
Decision
The function of a flowchart is to …
Make a program run directly
Illustrate the program’s logic flow
Produce calculation results
Test program errors
Create data tables
The parallelogram symbol is used for …
Input/Output
Process
Decision
Storage
Documentation
An advantage of a flowchart compared with pseudocode is that it is …
More concise
Faster to execute
Easier to understand visually
Closer to machine language
If there is branching in a flowchart, which symbol is used ...
Rectangle
Diamond
Oval
Arrow
Parallelogram
Relationships between steps in a flowchart are depicted with ...
Rectangle
Arrow line
Oval
Triangle
Box with dashed border
A flowchart is very helpful at the stage of ...
Requirements analysis
Coding
Documentation
Debugging
Program logic design
If a flowchart does not have an End symbol, the resulting problem is ...
The program does not run
The algorithm is not finite
The program is hard to understand
The flowchart cannot be printed
The flowchart is too long
In Blockly Maze, the command moveForward(); means ...
Turn right
Move forward one step
Turn left
Move backward one step
Jump to the next block
The command to turn left in Blockly Maze is ...
moveForward();
turnLeft();
turnRight();
stepLeft();
rotate();
The most efficient code to move forward 5 steps is ...
5 times moveForward();
repeat 5 { moveForward(); }
while (true) { moveForward(); }
if (pathAhead) moveForward();
turnLeft(); moveForward();
The structure if (pathAhead) { moveForward(); } is used to ...
Repeat steps forever
Move forward if there is a path ahead
Turn left at a dead end
Choose the right path
Stop the program
The main function of the loop while (pathAhead) { moveForward(); } is ...
Move once if there is a path
Keep moving as long as there is a path ahead
Stop when encountering a turn
Choose the right way
Turn left at an intersection
In deep learning algorithms, the term epoch means ...
The number of neural network layers
The total amount of training data
One full pass through the entire training data
The number of neurons in the hidden layer
The activation function used
The ReLU activation function in deep learning has the formula ...
f(x)=1+e−x1
f(x)=max(0,x)
f(x)=tanh(x)
f(x)=log(x)
f(x)=ex
In deep learning, splitting a dataset into a training set and a testing set aims to ...
Speed up computation
Test the model’s generalization ability
Reduce the amount of data
Eliminate errors
Make the model more complex
If a deep learning model experiences overfitting, the appropriate solution is ...
Reduce the training data
Add data or use regularization
Stop training earlier
Remove hidden layers
Increase the learning rate without limit
