Technical Skills- End  Examin - 13-01-2024 ECE & EEE SEM V

Technical Skills- End Examin - 13-01-2024 ECE & EEE SEM V

Professional Development

25 Qs

quiz-placeholder

Similar activities

Vocabulary

Vocabulary

Professional Development

20 Qs

KLU- CLUSTER -4 DAY-6

KLU- CLUSTER -4 DAY-6

Professional Development

30 Qs

Quiz 1

Quiz 1

Professional Development

20 Qs

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

coding skills (ISCP 02) Tuesday slot2 (11am - 1:00pm) CSE E & G

Professional Development

20 Qs

KLU- CLUSTER -6 DAY-7

KLU- CLUSTER -6 DAY-7

Professional Development

30 Qs

Parcc practice

Parcc practice

Professional Development

23 Qs

coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z

coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z

Professional Development

20 Qs

CO Level-3  Q:3

CO Level-3 Q:3

Professional Development

20 Qs

Technical Skills- End  Examin - 13-01-2024 ECE & EEE SEM V

Technical Skills- End Examin - 13-01-2024 ECE & EEE SEM V

Assessment

Quiz

English

Professional Development

Easy

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> enum happylife { a,b,c=5 }; enum happylife s; main() { c++; printf("%d",c); }
error
5
6
2

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

main() { enum resut {pass, fail}; enum result s1,s2; s1=pass; s2=fail; printf("%d",s1); }
error
pass
fail
0

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> enum example {a = 1, b, c}; enum example example1 = 2; enum example answer() { return example1; } int main() { (answer() == a)? printf("yes"): printf("no"); return 0; }
yes
no
2
error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define MAX 4 enum ccc { a,b=3,c }; main() { if(MAX!=c) printtf("hello"); else printf("welcome"); }
error
hello
welcome
2

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following C code if input given is 2? #include<stdio.h> enum day { a,b,c=5,d,e }; main() { printf("Enter the value for a"); scanf("%d",a); printf("%d",a); }
2
0
3
error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following C code if the code is executed on a 32 bit platform?#include <stdio.h> enum sanfoundry { c = 0, d = 10, h = 20, s = 3 } a; int main() { a = c; printf("Size of enum variable = %d bytes", sizeof(a)); return 0; }
error
Size of enum variable = 2 bytes
Size of enum variable = 4 bytes
Size of enum variable = 8 bytes

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> union stu { int ival; float fval; }; void main() { union stu r; r.ival = 5; printf("%d", r.ival); }
9
compile time error
16
5

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?