Programming

Programming

10th Grade

15 Qs

quiz-placeholder

Similar activities

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

20 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

TRẮC NGHIỆM TIN 12 KỲ II

TRẮC NGHIỆM TIN 12 KỲ II

10th - 12th Grade

10 Qs

Programming

Programming

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Olayi Lasisi

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?