Coding Basics

Coding Basics

12th Grade

20 Qs

quiz-placeholder

Similar activities

Vocabulary Week 12 Review

Vocabulary Week 12 Review

7th - 12th Grade

20 Qs

Academic Vocabulary RL/RI.8.4 Part 1

Academic Vocabulary RL/RI.8.4 Part 1

3rd - 12th Grade

18 Qs

Identify: Literal or Figurative?

Identify: Literal or Figurative?

3rd - 12th Grade

16 Qs

Coding Variables

Coding Variables

University

15 Qs

Coding Variables

Coding Variables

University

25 Qs

Literal/Non-Literal

Literal/Non-Literal

KG - University

25 Qs

Connotative Meaning

Connotative Meaning

9th - 12th Grade

21 Qs

Poetry

Poetry

10th - 12th Grade

20 Qs

Coding Basics

Coding Basics

Assessment

Quiz

English

12th Grade

Hard

Created by

Sarah Williams

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a variable in coding?

A variable in coding is a symbolic name given to a value that can change during the program's execution.

A variable in coding is a comment within the code

A variable in coding is a type of function

A variable in coding is a fixed value that never changes

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Explain the concept of loops in coding.

Loops in coding are used to play music

Loops in coding are used to repeat a block of code multiple times until a certain condition is met.

Loops in coding are used to fly airplanes

Loops in coding are used to cook food

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why is understanding coding basics important for aspiring computer scientists?

Coding basics are only relevant for software developers, not computer scientists

Understanding coding basics is not important for aspiring computer scientists

Coding basics provide the fundamental knowledge necessary to grasp advanced computer science topics and effectively apply them in real-world scenarios.

Computer scientists do not need to know how to code

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the basic building blocks of coding?

Classes

Variables, data types, operators, control structures, functions, objects

Inheritance

Loops

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of console.log(typeof null)?

"null"

"object"

"undefined"

"boolean"

Answer explanation

Answer: "object"

Explanation: In JavaScript, null is considered an object. This is a well-known bug in JavaScript that dates back to its early days and for backward compatibility reasons, it has never been fixed.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

what is literal

A literal is a notation for representing a fixed value in source code.

A literal is a type of mathematical equation

A literal is a type of programming language

A literal is a type of figure of speech

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a variable in programming?

A fixed value

A storage location with a name

A type of loop

A function

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?