WED-1

WED-1

University

30 Qs

quiz-placeholder

Similar activities

Programming in C

Programming in C

University

26 Qs

STUCTURES

STUCTURES

University

25 Qs

c programming

c programming

University

30 Qs

Programming Skills C/C++

Programming Skills C/C++

University

25 Qs

Python Programming Basics 1

Python Programming Basics 1

University

25 Qs

Code Carnival

Code Carnival

University

25 Qs

Post Test 2A (bag. 2) (Java)

Post Test 2A (bag. 2) (Java)

University

25 Qs

Python - Unit Test 2

Python - Unit Test 2

9th Grade - University

25 Qs

WED-1

WED-1

Assessment

Quiz

Computers

University

Hard

Created by

Vivek Jogdand

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many keywords are there in C language?

A) 32

B) 33

C) 64

D) 18

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a valid keyword in C language?

A) for

B) while

C) do-while

D) switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The C source file is processed by the ___.

A) Interpreter

B) Compiler

C) Both Interpreter and Compiler

D) Assembler

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which are the fundamental data types in C?

A) char

B) int

C) float

D) All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct format specifier for double type value in C?

A) %d

B) %f

C) %lf

D) %LF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is/are the size qualifier(s) in C language?

A) short

B) long

C) double

D) Both A. and B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code?

#include <stdio.h>

int main() {

int x = 20;

x %= 3;

printf("%d",x);

return 0;

}

A) 2

B) 2.5

C) Error

D) Warning

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?