Search Header Logo

Programming

Authored by Olayi Lasisi

Computers

10th Grade

Used 21+ times

Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is iteration?

A process wherein a set of instructions or structures are repeated once.

A process wherein a set of instructions or structures are not repeated in a sequence a specified number of times or until a condition is met

A process wherein a set of instructions or structures are repeated in a sequence a specified number of times or until a condition is met.

A process wherein a set of instructions or structures are repeated in a sequence a random number of times or until a condition is met

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An If Statement is used in?

Iteration

Selection

Sequence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value does a String return?

1.29

H

8

Ten

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value will a float return?

True

14

seven

2.92

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value will Boolean return?

14

Fish and chips

T

True

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output if four different students scored: 60, 57,61,79?


IF average ≥ 80 THEN​

OUTPUT “Distinction”​

ELSE IF average ≥ 60 THEN​

OUTPUT ”Merit”​

ELSE IF average ≥ 40 THEN​

OUTPUT “Pass”​

ELSE​

OUTPUT “Fail”​

ENDIF​

Merit, Merit, Merit Merit

Pass, Merit, Merit Pass

Merit, Pass, Merit, Merit

Merit, Pass, Merit, Distinction

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to the code below. What is the price for an adult on Saturday? ​


IF member = “child” THEN​

IF day = “Saturday” THEN​

swimPrice  2.00​

ELSE​

swimPrice  2.50​

ENDIF​

ELSE ​

swimPrice  4.00​

ENDIF ​

2.50

2.00

6.00

4.00

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?