PF Chapter 3 (Part 1)

PF Chapter 3 (Part 1)

University

11 Qs

quiz-placeholder

Similar activities

Day -1

Day -1

University

15 Qs

Regression Analysis

Regression Analysis

10th Grade - University

10 Qs

Tech quiz Round 1

Tech quiz Round 1

University

15 Qs

Brainy Bites: Python

Brainy Bites: Python

University

12 Qs

Intro C++

Intro C++

University

12 Qs

funciones en c++

funciones en c++

University

10 Qs

C++  quiz

C++ quiz

University

15 Qs

Array - C++ Programming

Array - C++ Programming

University

9 Qs

PF Chapter 3 (Part 1)

PF Chapter 3 (Part 1)

Assessment

Quiz

Other

University

Medium

Created by

NORHAKIMI NORASHDAN

Used 1+ times

FREE Resource

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

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?