c++ MCQS

c++ MCQS

University

20 Qs

quiz-placeholder

Similar activities

Arduino IDE

Arduino IDE

3rd Grade - Professional Development

17 Qs

Fun with Coding Concepts

Fun with Coding Concepts

4th Grade - University

15 Qs

Progdas-Q2-2024-1

Progdas-Q2-2024-1

University

20 Qs

Visual Basic

Visual Basic

University

15 Qs

PROGRAMMING IN PYTHON - UNIT II - TEST 1 MCQS

PROGRAMMING IN PYTHON - UNIT II - TEST 1 MCQS

University

15 Qs

Exam 1 Practice

Exam 1 Practice

University

15 Qs

C Programing

C Programing

University

25 Qs

Functions in Python

Functions in Python

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?