CSE C - 05.01.24

CSE C - 05.01.24

University

10 Qs

quiz-placeholder

Similar activities

Operators

Operators

University

12 Qs

FIND THE KEY

FIND THE KEY

University

10 Qs

Coding and Debugging

Coding and Debugging

University

15 Qs

unit3 pointers

unit3 pointers

University

10 Qs

PPS : Quiz 2

PPS : Quiz 2

University

15 Qs

BASIC C QUIZ

BASIC C QUIZ

University

15 Qs

C Quiz

C Quiz

University

12 Qs

sample qizz

sample qizz

University

6 Qs

CSE C - 05.01.24

CSE C - 05.01.24

Assessment

Quiz

Computers

University

Hard

Created by

Santhanalakshmi Kabilan

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Who is the father of C language?

Steve Jobs

James Gosling

Dennis Ritchie

Rasmus Lerdorf

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

All keywords in C are in

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following cannot be a variable name in C?

volatile

true

friend

export

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT possible with any 2 operators in C?

Different precedence, same associativity

Different precedence, different associativity

Same precedence, different associativity

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Functions in C Language are always

Internal

External

Both Internal and External

External and Internal are not valid terms for functions

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will be the output of the following C code?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int y = 10000;

  5. int y = 34;

  6. printf("Hello World! %d\n", y);

  7. return 0;

  8. }

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will happen if the following C code is executed?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int main = 3;

  5. printf("%d", main);

  6. return 0;

  7. }

It will cause a compile-time error

It will cause a run-time error

It will run without any error and prints 3

It will experience infinite looping

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?