C++ Unit 1 Day 3 Warm-Up

C++ Unit 1 Day 3 Warm-Up

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

cpp01_hello_cpp

cpp01_hello_cpp

6th Grade - University

10 Qs

Python_Start

Python_Start

5th - 12th Grade

10 Qs

C++ DataTypes/Operations/Variables

C++ DataTypes/Operations/Variables

9th - 12th Grade

10 Qs

pemograman

pemograman

12th Grade

10 Qs

Quiz1_10

Quiz1_10

10th Grade

6 Qs

Dasar Pemrograman C++

Dasar Pemrograman C++

10th Grade

10 Qs

Pemrograman Dasar 2

Pemrograman Dasar 2

10th Grade

10 Qs

Programación 11 grado. ILYV

Programación 11 grado. ILYV

11th Grade

7 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?