Search Header Logo

Computer Programming (Lab) - Quiz-1

Authored by Muhammad Sajid

Computers, Other

University

Used 8+ times

Computer Programming (Lab) - Quiz-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a fundamental type is not present in C but present in C++?

int

float

bool

void

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is C++ equivalent for scanf()?

cin

cout

print

input

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct difference between cin and scanf()?

both are the same

cin is a stream object whereas scanf() is a function

scanf() is a stream object whereas cin is a function

cin is used for printing whereas scanf() is used for reading input

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is static binding?

The process of linking the actual code with a procedural call during run-time

The process of linking the actual code with a procedural call during compile-time

The process of linking the actual code with a procedural call at any-time

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the size of a character type in C and C++?

4 and 1

1 and 4

1 and 1

4 and 4

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?