Programming Quiz(BCA 3rd)

Programming Quiz(BCA 3rd)

University

70 Qs

quiz-placeholder

Similar activities

C++2301 (1/3)

C++2301 (1/3)

University

70 Qs

C++2301 (2/3)

C++2301 (2/3)

University

70 Qs

Bai Tap PMP 5

Bai Tap PMP 5

University

70 Qs

Algorithmization and Programming Quiz

Algorithmization and Programming Quiz

University

71 Qs

FCPC-MidtermExam-DSA

FCPC-MidtermExam-DSA

University

70 Qs

Information Assurance & Security Practice Questions

Information Assurance & Security Practice Questions

University

75 Qs

GPHS_G10_EOY_2025_WALLACE

GPHS_G10_EOY_2025_WALLACE

10th Grade - University

70 Qs

KELAS 1-REVIEW MATERI INFORMATIKA SM2

KELAS 1-REVIEW MATERI INFORMATIKA SM2

1st Grade - University

65 Qs

Programming Quiz(BCA 3rd)

Programming Quiz(BCA 3rd)

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Nagendra Gaur

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?