day5

day5

Professional Development

21 Qs

quiz-placeholder

Similar activities

Technical Quiz Round 1

Technical Quiz Round 1

Professional Development

20 Qs

C Quiz 1

C Quiz 1

Professional Development

20 Qs

C++ Operators

C++ Operators

Professional Development

20 Qs

PSPD_CCA1

PSPD_CCA1

Professional Development

20 Qs

PSUEDOCODE 2 CAPGEMINI

PSUEDOCODE 2 CAPGEMINI

Professional Development

25 Qs

Quiz for Module3

Quiz for Module3

Professional Development

20 Qs

C Programming

C Programming

Professional Development

20 Qs

HACKATHON HUSTLE(ROUND 2)

HACKATHON HUSTLE(ROUND 2)

Professional Development

20 Qs

day5

day5

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Samba Siva

Used 15+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the result of 'num' variable after execution of the following statements?

int num = 58;

num % = 11;

3

5

8

11

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main()


{


char arr[7]="Network";


printf("%s", arr);


return 0;


}

Network

N

Garbage Value

Compilation error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include<stdio.h>

int main()

{

float a=0.7;

if(a<0.7)

{

printf("C");

}

else

{

printf("C++");

}

}

C

C++

Compilation Error

None of the these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main()


{


int a = 1, b=2, c=3;


char d = 0;


if(a,b,c,d)


{


printf("EXAM");


}


}

No Output and No Error

EXAM

Run time error

Compile time error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be output of the following c program?

#include<stdio.h>

int main()

{

int max-val=100;

int min-val=10;

int avg-val;

avg-val = max-val + min-val / 2;

printf("%d",avg-val);

}

55

105

60

Compilation error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Input/output function prototypes and macros are defined in which header file?

conio.h

stdlib.h

stdio.h

dos.h

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The "\n" character does which of the following operations?

Double line spacing

Character deletion

Character backspace

Places cursor on the next line

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?