C programming

C programming

University

6 Qs

quiz-placeholder

Similar activities

Projektmenedzsment SZE

Projektmenedzsment SZE

University

9 Qs

PHP BASIC

PHP BASIC

University

10 Qs

Python For All

Python For All

University

10 Qs

TIU 17 JUNI 2020

TIU 17 JUNI 2020

University

10 Qs

Comparing Decimals

Comparing Decimals

KG - University

9 Qs

Puerperio

Puerperio

University

7 Qs

Generación y necrosis

Generación y necrosis

University

11 Qs

C-Lab-Arrays

C-Lab-Arrays

University

10 Qs

C programming

C programming

Assessment

Quiz

Professional Development

University

Hard

Created by

Miss u darling undefined

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is c programming???

Middle level language

Machine and high level language

Procedural oriented language

All of these

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which one of the following is a loop construct that will always be executed once?

for

while

switch

do while

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

________to be included to use mathematical functions sqrt()

#include<conio.h>

#include<string.h>

#include<math.h>

#include<stdio.h>

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct output for the program given below.

#include <stdio.h>

Void main()

{ int i=0;

for(;i++;printf("%d",i)) ;

printf("%d",i);

}

0

1 1 2 2 3 3 4 4 5 5 ………

1

No Output : Error

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the result after execution of the following code if a is 10, b is 5, and c is 10?

if ((a > b) && (a <= c))

a = a + 1;

else

c = c+1;

a = 10, c = 10

a = 11, c = 10

a = 10, c = 11

a = 11, c = 11

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

which of the following statements is correct :

#include <stdio.h>

int main()

{

int i,x;

for(i=1;i<=(9%2 +i); i++)

{

x=(i*3 + i*2)/I;

printf("%d",x);

}

}

The code prints output as 5 10

The code prints output as 5 5 5 5

The code prints 5 infinite numbers of times

The code prints 20 infinite numbers of times