3c (i) OCR Exam Reference Language

3c (i) OCR Exam Reference Language

12th Grade

14 Qs

quiz-placeholder

Similar activities

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

User Interface Design - Topic 1

User Interface Design - Topic 1

12th Grade

15 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

ULANGAN HARIAN TIK

ULANGAN HARIAN TIK

10th Grade - University

10 Qs

Recap

Recap

12th Grade

10 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

animal crossing quiz

animal crossing quiz

1st - 12th Grade

10 Qs

3c (i) OCR Exam Reference Language

3c (i) OCR Exam Reference Language

Assessment

Quiz

Computers

12th Grade

Medium

Created by

RHSC Computing

Used 40+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of the 'found' variable in this code snippet?

Stores a boolean value indicating whether an element is found in the code snippet?

Stores an integer value indicating the number of times a condition is met in the code snippet?

Stores a string value indicating the name of a variable in the code snippet?

Stores the result of a mathematical calculation in the code snippet?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'while' loop do in your code?

It skips a block of code.

It executes a block of code only once.

It terminates the program immediately.

It repeatedly executes a block of code as long as a certain condition is true.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the 'if' statement in the code snippet looking for?

An integer

A boolean expression

A float

A string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when the condition in an 'if' statement is successful?

An error occurs.

The code block inside the 'if' statement is executed.

The code block inside the 'if' statement is ignored.

The code block inside the 'if' statement refuses to cooperate.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the value of a variable 'found' if the condition in the 'if' statement is true?

false

null

undefined

true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'endif' statement in a code snippet?

Does it start an 'if' statement or a conditional block of code?

Does it specify the condition for the 'if' statement or the conditional block of code?

Does it define the actions to be taken if the condition in the 'if' statement or the conditional block of code is true?

Does it indicate the end of an 'if' statement or a conditional block of code?

7.

LABELLING QUESTION

1 min • 1 pt

Drag and drop the labels onto the code

a
b
c

Iteration

Selection

Boolean Variable Declaration

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers