CP LAB ASSIGNMENT QUIZ

CP LAB ASSIGNMENT QUIZ

University

15 Qs

quiz-placeholder

Similar activities

Intro to Scratch 2

Intro to Scratch 2

KG - University

12 Qs

Programming Concepts in C

Programming Concepts in C

University

20 Qs

Programming in C

Programming in C

University

10 Qs

Skill Test for the month of January 2022_DBJC_Computer Science

Skill Test for the month of January 2022_DBJC_Computer Science

University

15 Qs

CSE C Section

CSE C Section

University

20 Qs

Printf, scanf

Printf, scanf

University

12 Qs

I/O STATEMENTS IN C

I/O STATEMENTS IN C

University

10 Qs

Quiz Input dan Ouput C++

Quiz Input dan Ouput C++

University

10 Qs

CP LAB ASSIGNMENT QUIZ

CP LAB ASSIGNMENT QUIZ

Assessment

Quiz

Computers

University

Medium

Created by

Rehaal Qureshi

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of the following software is used for executing a C program?

Editor

Compiler

Linker

Assembler

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Choose the correct syntax for accepting user input :

printf("%d",num1);

scanf("%d",num1);

scanf("%d",&num1);

scan(%d,"&num1");

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is a library in C for doing input/output operations?

math.h

stdio.h

studio.h

string.h

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

For storing a mobile number which of the following data type will be suitable for the variable ?

char

int

double

long

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How much is the size of an int variable in C?

1 Byte

4 Bytes

6 Bytes

8 Bytes

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The %d, %c, %f written in scanf/printf are called as

Access Specifier

Access Modifier

Format Specifier

Format Modifier

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

It is compulsory to write what of the following in any C program?

if- - else

for loop

main( ) function

scanf( ) function

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?