Programming Quiz(BCA 3rd)

Programming Quiz(BCA 3rd)

University

70 Qs

quiz-placeholder

Similar activities

Module 9-12 exam

Module 9-12 exam

University

67 Qs

Networking and Security Quiz

Networking and Security Quiz

University

65 Qs

AWS Practice Questions Part 3

AWS Practice Questions Part 3

University

72 Qs

AWS Practice Questions Part 2

AWS Practice Questions Part 2

University

72 Qs

Quiz Java Dasar

Quiz Java Dasar

University

70 Qs

Programming Quiz(BCA 3rd)

Programming Quiz(BCA 3rd)

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Nagendra Gaur

Used 2+ times

FREE Resource

70 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C keyword?

for

while

loop

if

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to get the address of a variable in C?

*

&

%

$

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

int x = 10;

printf("%d", x++);

9

11

10

12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C, which function is used to read a character from the standard input?

scanf()

getchar()

getch()

gets()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an exit-controlled loop?

for

do-while

while

if

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

float

int

void

char

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to define a preprocessor macro in C?

$

#

&

@

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?