Search Header Logo

BASIC C PROGRAMMING QUIZ

Authored by Dhindhya Shri

Computers

University

Used 197+ times

BASIC C PROGRAMMING QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?