c++ MCQS

c++ MCQS

University

20 Qs

quiz-placeholder

Similar activities

Final Exam - CC25

Final Exam - CC25

University

20 Qs

Object and Coding Concepts Quiz

Object and Coding Concepts Quiz

7th Grade - University

21 Qs

C Programming Assessment-1

C Programming Assessment-1

University

20 Qs

Visual Basic

Visual Basic

University

15 Qs

PyGame

PyGame

University

20 Qs

Quiz No. 3 - JS Loops

Quiz No. 3 - JS Loops

University

20 Qs

EME316 Quiz 02

EME316 Quiz 02

10th Grade - University

15 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

c++ MCQS

c++ MCQS

Assessment

Quiz

Computers

University

Medium

Created by

محمد المصري

Used 9+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

........... groups a number of program statements into a unit and give it a name.

A System software

A Software

A Function

A Block

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following can legitimately be passed to a function?

A constant

A variable

A structure

A header file

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function argument is...........

a variable in the function that receives a value from the calling program.

a way that functions resist accepting the calling program’s values.

a value sent to the function by the calling program.

a value returned by the function to the calling program

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function’s single most important role is to..........

give a name to a block of code.

reduce program size.

accept arguments and provide a return value.

help organize a program into conceptual units.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function itself is called the function d...........

declaration

definition

decision

deformation

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can we use arguments passed by reference ..........

ampersand sign (&).

a backslash (\)

slash (/)

(*)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The scope of variables declared within a function or any other inner block is only their own function or their own block and cannot be used outside of them.

True

False

I don't know

None of them

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?