wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

quiez informatika XII

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

A good algorithm has the following properties, except …

a)

Definite

b)

Finite

c)

Efficient

d)

Ambiguous

e)

Structured

2.

Pseudocode is used to …

a)

Draw a program flow using symbols

b)

Create a program that is directly executable by a computer

c)

Explain program logic using simple language

d)

Replace high-level programming languages

e)

Create a user interface

3.

The ordered steps in an algorithm are called …

a)

Iteration

b)

Sequencing

c)

Decision

d)

Branching

e)

Debugging

4.

The algorithm structure that uses repetition is called …

a)

Branching

b)

Iteration

c)

Sequential

d)

Modular

e)

Recursion

5.

In a flowchart, the diamond-shaped symbol is used for …

a)

Output

b)

Input

c)

Process

d)

Decision

e)

Terminal

6.

If an algorithm never halts, the finite property is not satisfied. An example is …

a)

A program that computes the area of a rectangle

b)

A loop with no stopping condition

c)

A program that prints “Hello World” once

d)

A simple branching program

e)

A data-sorting program

7.

The algorithm for searching data in a list sequentially is called …

a)

Binary Search

b)

Sequential Search

c)

Bubble Sort

d)

Quick Sort

e)

Merge Sort

8.

The final stage in creating an algorithm before coding is …

a)

Problem analysis

b)

Creating a flowchart/pseudocode

c)

Program implementation

d)

Program testing

e)

Documentation

9.

In a flowchart, the oval symbol represents …

a)

Input

b)

Output

c)

Process

d)

Start/End

e)

Decision

10.

The function of a flowchart is to …

a)

Make a program run directly

b)

Illustrate the program’s logic flow

c)

Produce calculation results

d)

Test program errors

e)

Create data tables

11.

The parallelogram symbol is used for …

a)

Input/Output

b)

Process

c)

Decision

d)

Storage

e)

Documentation

12.

An advantage of a flowchart compared with pseudocode is that it is …

a)

More concise

b)

Faster to execute

c)

Easier to understand visually

d)

Closer to machine language

13.

If there is branching in a flowchart, which symbol is used ...

a)

Rectangle

b)

Diamond

c)

Oval

d)

Arrow

e)

Parallelogram

14.

Relationships between steps in a flowchart are depicted with ...

a)

Rectangle

b)

Arrow line

c)

Oval

d)

Triangle

e)

Box with dashed border

15.

A flowchart is very helpful at the stage of ...

a)

Requirements analysis

b)

Coding

c)

Documentation

d)

Debugging

e)

Program logic design

16.

If a flowchart does not have an End symbol, the resulting problem is ...

a)

The program does not run

b)

The algorithm is not finite

c)

The program is hard to understand

d)

The flowchart cannot be printed

e)

The flowchart is too long

17.

In Blockly Maze, the command moveForward(); means ...

a)

Turn right

b)

Move forward one step

c)

Turn left

d)

Move backward one step

e)

Jump to the next block

18.

The command to turn left in Blockly Maze is ...

a)

moveForward();

b)

turnLeft();

c)

turnRight();

d)

stepLeft();

e)

rotate();

19.

The most efficient code to move forward 5 steps is ...

a)

5 times moveForward();

b)

repeat 5 { moveForward(); }

c)

while (true) { moveForward(); }

d)

if (pathAhead) moveForward();

e)

turnLeft(); moveForward();

20.

The structure if (pathAhead) { moveForward(); } is used to ...

a)

Repeat steps forever

b)

Move forward if there is a path ahead

c)

Turn left at a dead end

d)

Choose the right path

e)

Stop the program

21.

The main function of the loop while (pathAhead) { moveForward(); } is ...

a)

Move once if there is a path

b)

Keep moving as long as there is a path ahead

c)

Stop when encountering a turn

d)

Choose the right way

e)

Turn left at an intersection

22.

In deep learning algorithms, the term epoch means ...

a)

The number of neural network layers

b)

The total amount of training data

c)

One full pass through the entire training data

d)

The number of neurons in the hidden layer

e)

The activation function used

23.

The ReLU activation function in deep learning has the formula ...

a)

f(x)=11+exf(x) = \frac{1}{1+e^{-x}}

b)

f(x)=max(0,x)f(x) = \max(0, x)

c)

f(x)=tanh(x)f(x) = \tanh(x)

d)

f(x)=log(x)f(x) = \log(x)

e)

f(x)=exf(x) = e^x

24.

In deep learning, splitting a dataset into a training set and a testing set aims to ...

a)

Speed up computation

b)

Test the model’s generalization ability

c)

Reduce the amount of data

d)

Eliminate errors

e)

Make the model more complex

25.

If a deep learning model experiences overfitting, the appropriate solution is ...

a)

Reduce the training data

b)

Add data or use regularization

c)

Stop training earlier

d)

Remove hidden layers

e)

Increase the learning rate without limit