May Computing Quiz

May Computing Quiz

9th Grade

36 Qs

quiz-placeholder

Similar activities

Python

Python

9th Grade

40 Qs

Cse

Cse

9th - 12th Grade

33 Qs

term 2 practice grade 7

term 2 practice grade 7

7th Grade - University

35 Qs

Python Coding Language

Python Coding Language

8th - 12th Grade

40 Qs

Python

Python

8th - 12th Grade

40 Qs

Programming Loops, Data Structures, etc..

Programming Loops, Data Structures, etc..

9th - 12th Grade

35 Qs

Python MCQ

Python MCQ

9th - 12th Grade

40 Qs

GCSE ICT U1 Topics 1-6 Revision

GCSE ICT U1 Topics 1-6 Revision

5th - 9th Grade

36 Qs

May Computing Quiz

May Computing Quiz

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Matthew Green

Used 5+ times

FREE Resource

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A type of loop

A storage location identified by a name

A function that performs a specific task

A conditional statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to declare a variable in Python?

`int x = 10;`

`x = 10`

`var x = 10;`

`x := 10`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a loop in programming?

To store data

To repeat a block of code multiple times

To define a function

To check a condition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a type of loop in Python?

`for`

`repeat`

`until`

`foreach`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in programming?

A block of code that performs a specific task

A type of variable

A loop that runs indefinitely

A conditional statement

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a conditional statement used for in programming?

To store data

To repeat a block of code

To make decisions based on conditions

To define a function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a conditional statement in Python?

`if`

`loop`

`def`

`var`

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?