BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

quiz-placeholder

Similar activities

Pointers

Pointers

University

20 Qs

TECH INTELLECT - ROUND 2

TECH INTELLECT - ROUND 2

University

10 Qs

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

C programming-1

C programming-1

University

13 Qs

ACTIVIDAD INTEGRADORA

ACTIVIDAD INTEGRADORA

10th Grade - University

10 Qs

C - Structures

C - Structures

University

20 Qs

Java Programming

Java Programming

University

15 Qs

Array

Array

University

11 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

Assessment

Quiz

Computers

University

Hard

Created by

Dhindhya Shri

Used 187+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Who invented C programming language ?

Ken Thompson

James Gosling

Dennis Ritchie

James Thompson

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In C, program execution always starts from ________

int a = 30

#include<stdio.h>

main()

#include<conio.h>

3.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Which of the following are Relational Operators in C?

=

>=

!=

||

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In C, what is the correct hierarchy of arithmetic operations?

*/ + -

* +- /

/ *+ -

+ - / *

5.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which one of the following is correct variable declaration?

coding13

13coding

_CoDiNg_ChAlLeNgE

coding.challenge

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which loop can be used in C language so that the loop gets executed atleast once?

while

for

switch

do while

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

int a = 1;

int b = 18;

a++;

b--;

what is the value of a and b?

a=2

b=19

a=2

b=17

a=1

b=17

a=1

b=19

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?