Search Header Logo

SET 2 quiz

Authored by VAMAN PRABHAKAR P AIML DEPT

Other

University

SET 2 quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JOIN returns only matching rows from both tables?

OUTER JOIN

LEFT JOIN

INNER JOIN

RIGHT JOIN

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int in most C compilers (32-bit)?

2 bytes

4 bytes

8 bytes

16 bytes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the return type of malloc()?

int

char*

void*

double

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to define a constant in C?

const

final

static

immutable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop is used when the number of iterations is unknown?

for

while

do-while

switch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator is used to access the address of a variable?

&

*

->

%

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the concept of wrapping data and functions together called?

Encapsulation

Inheritance

Abstraction

Polymorphism

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?