C programming

C programming

University

6 Qs

quiz-placeholder

Similar activities

C-Lab-9

C-Lab-9

University

5 Qs

informática I 3er parcial 1º I

informática I 3er parcial 1º I

10th Grade - Professional Development

11 Qs

TEST SEGUNDO PARCIAL

TEST SEGUNDO PARCIAL

2nd Grade - University

10 Qs

If..else in c

If..else in c

University

6 Qs

Fundamentos HTML

Fundamentos HTML

University

10 Qs

Ch-4 Laporan Auditor Independen (LAI)

Ch-4 Laporan Auditor Independen (LAI)

1st Grade - Professional Development

10 Qs

C Programming - Medium

C Programming - Medium

10th Grade - University

10 Qs

C Skills-1

C Skills-1

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