Search Header Logo

Programming CFE Review #1

Authored by Umente Charles

Information Technology (IT)

10th Grade

Used 1+ times

Programming CFE Review #1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chris and Nephthalie are learning about different types of data in their programming class. Which of the following is a primitive variable type commonly used in programming?

Integer

Array

Function

Loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chris and Pam are working on a programming project. They need to decide on a variable type to store whether a feature is enabled or not. What is the primary purpose of a boolean variable in programming?

To store text

To store true or false values

To store decimal numbers

To store characters

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nephthalie is creating a program to store information about her friends. Which data type would she use to store a friend's name?

Integer

Double

String

Boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nephthalie is baking a cake and needs to measure 3.14 cups of flour. Which data type would be most appropriate for storing this value?

Integer

Double

Boolean

Character

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chris wants to create a system to check if a user is above 18 years old. Which data type would Chris use for the age?

String

Integer

Boolean

Character

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chris and Pam are discussing a type of variable in their computer science class. Chris says that a variable that can only have the values true or false is called a:

String

Integer

Boolean

Double

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Eliel and Amilcar are developing a weather application to display the temperature in Celsius. Which data type should they use to store the temperature?

Integer

Double

Boolean

String

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?