C++ Functions

C++ Functions

6th - 8th Grade

11 Qs

quiz-placeholder

Similar activities

Mid-Tern Exam's Review

Mid-Tern Exam's Review

8th Grade

15 Qs

Bài 11. Vẽ các mẫu cơ bản

Bài 11. Vẽ các mẫu cơ bản

3rd - 7th Grade

10 Qs

Szövegszerkesztés - Formázások 2

Szövegszerkesztés - Formázások 2

6th - 7th Grade

15 Qs

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

1st - 12th Grade

12 Qs

ICT Hunt

ICT Hunt

6th Grade

10 Qs

bài tập câu lệnh đk

bài tập câu lệnh đk

8th Grade

15 Qs

AutoCAD w Brzesku \m/

AutoCAD w Brzesku \m/

1st - 12th Grade

10 Qs

Kiểm tra thường xuyên Tin 6

Kiểm tra thường xuyên Tin 6

6th Grade

10 Qs

C++ Functions

C++ Functions

Assessment

Quiz

Science, Computers

6th - 8th Grade

Practice Problem

Medium

Created by

Natalia Fumero

Used 644+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function can have _____ inside the parenthesis

loops

Arguments/Parameters

Braces

Types

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function that has no return type starts with:

int

void

Arguments

Braces

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function that returns a whole number starts with the word

int

void

string

{ }

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fill in the blank to have this function work properly


_____ function ( ) {


int a = 4;

int b = 5;


cout<<a*b;


}

string

int

void

variable

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fill in the blank to have this function work properly


_____ function ( ) {


string greeting = "Welcome to my game";


return greeting;


}

string

void

int

variable

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fill in the blank to have this function work properly


_____ function ( ) {


int a;

cin >> a;


cout<<"You chose " << a <<endl;


}

string

void

int

variable

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

True or False. We can call functions inside of other functions.

True

False

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?