C programming

C programming

University

6 Qs

quiz-placeholder

Similar activities

¿Cómo usar los artículos de revista?

¿Cómo usar los artículos de revista?

University

10 Qs

memez

memez

KG - Professional Development

9 Qs

Parcial I

Parcial I

University

10 Qs

PHP

PHP

10th Grade - Professional Development

6 Qs

loop for(C)

loop for(C)

9th Grade - University

10 Qs

Basic HTML

Basic HTML

University

10 Qs

Web Development Workshop

Web Development Workshop

University - Professional Development

10 Qs

Python Study Group: Week 4

Python Study Group: Week 4

12th Grade - 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