C++ Unit 1 Day 3 Warm-Up

C++ Unit 1 Day 3 Warm-Up

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Evaluasi Percabangan

Evaluasi Percabangan

11th Grade

10 Qs

While Loops

While Loops

10th - 12th Grade

7 Qs

Quiz Bahasa C++ 1

Quiz Bahasa C++ 1

9th - 12th Grade

10 Qs

TIN11_KIỂM TRA THƯỜNG XUYÊN

TIN11_KIỂM TRA THƯỜNG XUYÊN

11th Grade

10 Qs

Structures in C++

Structures in C++

12th Grade

10 Qs

HTML QUIZ

HTML QUIZ

8th - 9th Grade

10 Qs

HTML Tags

HTML Tags

9th Grade

10 Qs

Robotics Quiz

Robotics Quiz

1st - 12th Grade

8 Qs

C++ Unit 1 Day 3 Warm-Up

C++ Unit 1 Day 3 Warm-Up

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Richard Ghiorse

Used 11+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Every C++ program will have a function that is called ____.

start

begin

main

int

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which line of code is the correct way to display the message C++ is Fun! to the console screen?

cout << C++ is Fun!\n;

cout << "C++ is Fun!\n"

cout << "C++ is Fun!\n";

cout >> "C++ is Fun!\n";

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which include directive is necessary to use input and output commands in a C++ program?

#include<iostream>

#include<inputoutput>

#input<iolibrary>

#include<cout>

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the accepted convention for the last statement within the C++ main function?

return 0;

end;

return;

return 100;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Assuming they are part of a complete and correct program, what is the output produced by the two lines of code above?

Hello! Are you reading carefully?

Hello!

Are you reading carefully?

Hello!Are you reading carefully?