Code Constructs

Code Constructs

2nd Grade

10 Qs

quiz-placeholder

Similar activities

Subroutine

Subroutine

KG - 12th Grade

10 Qs

A words - GCSE Computer Science

A words - GCSE Computer Science

1st - 10th Grade

13 Qs

Data Types in Python

Data Types in Python

1st - 5th Grade

14 Qs

Selection and Condition in Programming

Selection and Condition in Programming

1st - 11th Grade

10 Qs

 Computing Revision JCG

Computing Revision JCG

KG - University

14 Qs

Cyber Security - Year 9

Cyber Security - Year 9

1st - 9th Grade

12 Qs

Coding Vocab

Coding Vocab

KG - 6th Grade

11 Qs

Computer Hardware - Virtual Memory

Computer Hardware - Virtual Memory

1st - 7th Grade

10 Qs

 Code Constructs

Code Constructs

Assessment

Quiz

Computers

2nd Grade

Hard

Created by

Adrianna Dar

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming a set of instructions is called:

User Manual

Troubleshooting

Algorithm

Sequence

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sequence is a code construct which:

involves sequencing user input when received into code

involves writing lines of code in specific order and it has to be executed as it is written line by line

is piece of code with instruction to repeat that code certain amount of time

All of above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Conditional statements are called conditional because they need to include conditions under which code is executed.

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loop construct involves repetition of block of code until criteria to end execution of this code is met.

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

IF STATEMENT is a code construct which gives choice for options to computer program which can be executed only if condition for the option is FALSE

Yes, program will run that code only if result of if statement is FALSE

No, program will run that code only if result of if statement is TRUE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

IF STATEMENT may have more than two options available for computer program to pick up from.

TRUE, and it's called a NESTED IF STATEMENT

FALSE, IF STATEMENT can only have two options to be picked up by computer program

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

Pointer or trigger to start code execution

One of the choice given in IF STATEMENT

Item of data that is given name and data type

Data item with data type which is stored in the computer memory for later use in a program

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?