Coding Quiz

Coding Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Programming Review

Programming Review

9th - 12th Grade

15 Qs

Programming Concepts Quiz

Programming Concepts Quiz

10th Grade - University

15 Qs

CrashCourse Computer Science Quiz

CrashCourse Computer Science Quiz

12th Grade

10 Qs

Arduino Basics

Arduino Basics

12th Grade

10 Qs

28.02 C sharp

28.02 C sharp

12th Grade

15 Qs

Java Lesson 7

Java Lesson 7

5th Grade - University

10 Qs

P82 Invention and Robotic Club 06/21

P82 Invention and Robotic Club 06/21

KG - Professional Development

15 Qs

“Hari 3 - Kuis Coding & Perkenalan AI”. -DINAR LARASATI SDR6

“Hari 3 - Kuis Coding & Perkenalan AI”. -DINAR LARASATI SDR6

12th Grade - Professional Development

10 Qs

Coding Quiz

Coding Quiz

Assessment

Quiz

Other

12th Grade

Hard

Created by

S A

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A command that performs a specific task

A storage location paired with an associated symbolic name, which contains some known or unknown quantity of information referred to as a value

A set of instructions that performs a task

A condition that determines which instructions to execute next

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid variable name in most programming languages?

myVariable

2ndVariable

variable_name

Variable1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in programming?

A sequence of program instructions that performs a specific task, packaged as a unit

A data structure that can store multiple values

A loop that executes a set of instructions repeatedly

A variable that can store multiple values

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following loops will execute the body at least once even if the condition is false?

for loop

while loop

do-while loop

foreach loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of conditional statements in programming?

To repeat a block of code multiple times

To define a function

To execute a block of code based on whether a condition is true or false

To store multiple values in a single variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of loop in most programming languages?

for loop

while loop

do-while loop

repeat-until loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?

A function that performs a specific task

A variable that can store multiple values of the same type

A conditional statement

A loop that executes a set of instructions repeatedly

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?