Ch-I Basics of C

Ch-I Basics of C

University

50 Qs

quiz-placeholder

Similar activities

Power BI Quiz

Power BI Quiz

University

50 Qs

Technical Training Test for III BTech - VCE - CSE

Technical Training Test for III BTech - VCE - CSE

University

45 Qs

AI Revision

AI Revision

University

50 Qs

GEOGRAPHICAL INFORMATION SYSTEM

GEOGRAPHICAL INFORMATION SYSTEM

University

50 Qs

IT Fundamentals Test Part 1

IT Fundamentals Test Part 1

KG - University

49 Qs

Máy tính - Người bạn mới của em

Máy tính - Người bạn mới của em

2nd Grade - University

50 Qs

TIN HỌC 6 - ÔN TẬP GK1 2425

TIN HỌC 6 - ÔN TẬP GK1 2425

6th Grade - University

50 Qs

Final Quiz Jarkom Lanjut

Final Quiz Jarkom Lanjut

University

52 Qs

Ch-I Basics of C

Ch-I Basics of C

Assessment

Quiz

Computers

University

Hard

Created by

Dayanand Kamble

Used 4+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following operator(s) is/are used for assigning a value?

==

=

+=

!=

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main() {

int i = 0;

int j = i++ + i;

printf("%d\n", j);

}

0

1

2

Compile time error

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

printf is a

function

variable

datatype

operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()

{

int i = 2;

int j = ++i + i;

printf("%d\n", j);

}

What is the output of the above program?

4

5

6

7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main() {

int c = 2 ^ 3;

printf("%d\n", c);

}

1

8

9

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()

{

int a = 2;

int b= a >> 1;

printf("%d\n", b);

}

0

1

2

Compile time Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main()

{

int a = 2;

int b=11 ;

printf("%d\n", a+b*a);

}

26

24

20

None

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?