Final Assessment C & C++ & DSA - 2nd August 24

Final Assessment C & C++ & DSA - 2nd August 24

University

25 Qs

quiz-placeholder

Similar activities

Deaf Awareness/BSL

Deaf Awareness/BSL

5th Grade - Professional Development

20 Qs

2-character formation

2-character formation

University

20 Qs

International Issues I

International Issues I

University

20 Qs

2nd/Educ 7- Semi Final Examination (3rd year and Earners)

2nd/Educ 7- Semi Final Examination (3rd year and Earners)

University

20 Qs

Claritek Quiz Tea Reward Jan Feb 2021

Claritek Quiz Tea Reward Jan Feb 2021

University

20 Qs

Ultimate office trivia quiz

Ultimate office trivia quiz

KG - Professional Development

25 Qs

EBM2193 HUMAN RESOURCE MANAGEMENT LU1&LU2

EBM2193 HUMAN RESOURCE MANAGEMENT LU1&LU2

University

20 Qs

QUIZ 4 : TOPIC 8 [PROCESS COSTING]

QUIZ 4 : TOPIC 8 [PROCESS COSTING]

1st Grade - University

20 Qs

Final Assessment C & C++ & DSA - 2nd August 24

Final Assessment C & C++ & DSA - 2nd August 24

Assessment

Quiz

Professional Development

University

Medium

Created by

KVCH CORPORATE

Used 3+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following is a valid declaration in C?

int 3dArray

int _Var

int *ptr,*ptr2

int var-2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code?

6

5

Undefined

Compilation error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function declarations is correct in C?

int func(int x, y)

int func(int, int)

int func(x, int)

int func(int, int y)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a C++ keyword?

private

friend

virtual

include

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for creating an object in C++?

ClassName objectName

ClassName objectName = new ClassName()

objectName = new ClassName()

ClassName objectName()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following concepts is not supported by C++?

Polymorphism

Abstraction

Reflection

Encapsulation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following C++ code?

What is the default return type of a function in C if it is not specified?

int

void

float

char

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?