Search Header Logo

PF Chapter 3 (Part 1)

Authored by NORHAKIMI NORASHDAN

Other

University

Used 1+ times

PF Chapter 3 (Part 1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A variable is a name associated with a ___ cell whose value ___ during the execution of a program.

memory, can't change

data, can change

memory, can change

data, can't change

2.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

State which of the following identifiers are valid:

2ndPlace

_totalMarks

float

grade_student

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is a standard identifier in C++?

result

cout

km_per_hour

totalSum

4.

OPEN ENDED QUESTION

10 sec • 1 pt

Write the correct variable declaration for the following:


  • An integer called age

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

10 sec • 1 pt

Write the correct variable declaration for the following:


  • A float called temperature

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

10 sec • 1 pt

Write the correct variable declaration for the following:

A character called grade

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

20 sec • 1 pt

Write a valid assignment statement to:


  • Assign 75.5 to a float variable named marks

Evaluate responses using AI:

OFF

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?