pra PSPM SC025 (F02 KML)

pra PSPM SC025 (F02 KML)

6th Grade - University

24 Qs

quiz-placeholder

Similar activities

Python -Iteration (loops)

Python -Iteration (loops)

7th - 12th Grade

20 Qs

11.2 Constructs Cambridge iAS 9618

11.2 Constructs Cambridge iAS 9618

11th Grade

20 Qs

sad 2 first review

sad 2 first review

9th - 12th Grade

21 Qs

GD2 - 3.13 Unit 3 Test - Loops, Strings & Arrays

GD2 - 3.13 Unit 3 Test - Loops, Strings & Arrays

10th - 12th Grade

20 Qs

PyGame

PyGame

University

20 Qs

Creating Algorithms through Pseudocodes and Flowcharts

Creating Algorithms through Pseudocodes and Flowcharts

10th Grade - University

20 Qs

C++ programming

C++ programming

7th - 12th Grade

20 Qs

Code.org Hour Of Code Assessment

Code.org Hour Of Code Assessment

6th Grade

20 Qs

pra PSPM SC025 (F02 KML)

pra PSPM SC025 (F02 KML)

Assessment

Quiz

Science, Computers

6th Grade - University

Medium

Created by

NURANISYAH Moe

Used 8+ times

FREE Resource

24 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

The program will display "A" if the mark entered is greater or equal to 80 or "B" if the mark entered is between 70 to 79.


What's the output?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Determine whether the number -18 keyed in by the user is ”positive”, “negative”, or “zero"


Start

Read number

If(number > 0 )

Print “positive”

Else if(number < 0)

Print “negative”

Else

Print “zero”

Endif

Stop

positive

negative

zero

all above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value stored in variable p after the following statements are executed?

p=7/2+3

13.5

6.5

1.4

p

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Selection

Sequence

Repetition

Interaction

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of executing the following code?


The code :


Number = 5

While number z <= 5

If number < 5

Number = number + 1

Print (number)

The program will loop indefinitely

The value of the number will be printed exactly 1 time

The while loop will never get executed

The value of number will be printed exactly 5 times

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is correct about selection?

Specifies a block of one or more statements that are repeatedly executed until a condition is satisfied.

Perform one or more actions repeatedly while a certain condition is true.

Performs actions based on certain conditions.

Performs statements one after another in sequence.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is correct about sentinel?

a special value in the context of an algorithm that uses its presence as a condition of termination, typically in a loop or recursive algorithm

a non-special value in the context of an algorithm.

a data structure consisting of a collection of elements (values or variables).

the main logical structure of algorithms or programs.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?