Programming Fundamentals Quiz

Programming Fundamentals Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Intro to Python Programming Quiz 9C

Intro to Python Programming Quiz 9C

10th Grade - University

12 Qs

Unit 2 Terms 2.4-2.7

Unit 2 Terms 2.4-2.7

12th Grade

12 Qs

Python Strings and Variables

Python Strings and Variables

5th Grade - University

8 Qs

P82 Invention and Robotic Club 06/21

P82 Invention and Robotic Club 06/21

KG - Professional Development

15 Qs

Research Methods

Research Methods

9th - 12th Grade

15 Qs

YVIP Earsketch Vocab Review 2021

YVIP Earsketch Vocab Review 2021

6th - 12th Grade

12 Qs

Java Primitives Unit 1-B

Java Primitives Unit 1-B

12th Grade

12 Qs

Intro to Python Programming Quiz 9B

Intro to Python Programming Quiz 9B

10th Grade - University

14 Qs

Programming Fundamentals Quiz

Programming Fundamentals Quiz

Assessment

Quiz

Other

12th Grade

Medium

Created by

Laura Coop Rushworth

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A programming construct used for iteration

A named memory address that holds a value

A constant value that cannot be changed

A special character used in programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid identifier for a variable?

123score

high score

highScore

$core

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of declaring a variable in programming?

To assign a value to the variable

To identify the variable before assigning a value

To change the value of the variable

To delete the variable from memory

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a constant in programming?

A special character used in programming

A programming construct used for decision making

A value assigned to a name that cannot be changed

A variable that can be changed during program execution

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid constant name?

PI

pi

Pi

3.142

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a global variable in programming?

A variable that can be accessed and changed throughout the program

A variable confined to a loop or subprogram

A variable used for mathematical calculations

A variable that cannot be accessed or changed

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the advantage of using local variables in programming?

They have a global scope

They are used for mathematical calculations

They allow the programmer to reuse variable names

They can be accessed and changed throughout the 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?