Search Header Logo

EXTRA PRACTICE - Coding

Authored by Héctor Manzanares

Computers

8th Grade

Used 1+ times

EXTRA PRACTICE - Coding
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The purpose of a variable is to:

Store a value

Display a webpage

Keep your data private

Determine if the value is a number or text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You’re taking inventory at a clothing store. You have six shirts. Save the value of the number of shirts to the variable shirts. shoes = 8; dresses = 4; shirts ____ ____ What is missing?

= & 6

shirts & 6

2 & 6

  • + & 6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the value of myCookbook, what do you think the value of statement will be?

myCookbook = 'The Joy of Cooking'

yourCookbook = 'How to Cook Everything'

statement = 'My favorite cookbook is ' + myCookbook

My favorite cookbook is The Joy of Cooking

My Favorite cookbook is

The Joy of Cooking

My Favorite cookbook is How to Cook Everything

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we use a value without assigning it to a variable, that’s known as:

Hardcoding

Phishing

Digitization

Storing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Take a look at the following code snippet. If we print out the final value of numSides, what would it be?

numSides

numSides=4

triangle=3

numSides=triangle

3

7

0

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The three data types are

Numbers, strings, booleans

Equal, less than, greater than

Text, image, audio

Regular, decimal, binary

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data types are important because:

They identify different types of information used in programs

They are a recent development in programming

They increase the number of lines in a program

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?