Search Header Logo

Programming Basics and Concepts Quiz

Authored by Nathan Macleod

Engineering

7th Grade

Used 1+ times

Programming Basics and Concepts Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable (container) in programming?

Variables are identifiers that store information.

Variables are used to perform calculations.

Variables are a type of data structure.

Variables are a type of function.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are good practices in naming variables?

Use the alphabet, underscores, and numbers.

Start a variable with a number or underscore.

Use special characters.

Use reserved words in the programming language.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List and explain two common variable naming conventions.

snake_case is a naming convention used for modules, variables, class, and functions which utilized lower case letters and underscores in between multiple words.

CamelCase is a naming convention used for class names which utilizes capital letters at the beginning of each word without spaces in between.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a flow chart?

A flowchart is a visual representation of an algorithm.

A flowchart is a type of data structure.

A flowchart is a programming language.

A flowchart is a type of function.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A set of instructions or procedures designed to perform a specific task or solve a problem.

A type of data structure.

A programming language.

A type of function.

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe a conditional statement and how it is used in an algorithm.

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define syntax.

Set of rules that define what the various combinations of symbols mean. This tells the computer how to read the code.

A type of data structure.

A programming language.

A type of function.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?