C++ Unit 1 Day 4 Warm-Up

C++ Unit 1 Day 4 Warm-Up

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Loops in C++

Loops in C++

12th Grade

3 Qs

C++ Programming Quiz

C++ Programming Quiz

12th Grade

10 Qs

11th cs chap9

11th cs chap9

12th Grade

10 Qs

Evaluación Programación Piton

Evaluación Programación Piton

9th - 12th Grade

10 Qs

Perulangan

Perulangan

11th Grade

10 Qs

loop while/do while

loop while/do while

7th - 12th Grade

10 Qs

LINKS, ANCHORS, NAVIGATION AND OTHER KINDS OF LINKS

LINKS, ANCHORS, NAVIGATION AND OTHER KINDS OF LINKS

9th Grade

10 Qs

Bài tập trắc nghiệm C++

Bài tập trắc nghiệm C++

3rd - 12th Grade

10 Qs

C++ Unit 1 Day 4 Warm-Up

C++ Unit 1 Day 4 Warm-Up

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Richard Ghiorse

Used 6+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will correctly declare an integer variable called total?

total;

total int;

int total

int total;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will correctly read in a value to the integer variable named total?

cin << total;

input >> total;

cin >> total;

cin >> total

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will display the value of the integer variable named total?

output << total;

cout >> total;

cout << total;

print << total;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to rewrite the following line of code using endl instead of \n?


cout << "Lorem Ipsum.\n";

cout << "Lorem Ipsum.endl";

cout << "Lorem Ipsum." << endl;

cout << "Lorem Ipsum" endl;

cout << "Lorem Ipsum." << "endl";

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Write the line of code that declares the integer variable named sum.