SASI -1st year -DAY1-AN(18.12.23)

SASI -1st year -DAY1-AN(18.12.23)

Professional Development

15 Qs

quiz-placeholder

Similar activities

CTECH-02.02.2024-FN

CTECH-02.02.2024-FN

Professional Development

15 Qs

VCE-ALPHA-25.11.2023-AN

VCE-ALPHA-25.11.2023-AN

Professional Development

15 Qs

SASI -BATCH 3-DAY2-FN

SASI -BATCH 3-DAY2-FN

Professional Development

15 Qs

DSBS-AN-29.01.2024

DSBS-AN-29.01.2024

Professional Development

15 Qs

TEST 8      SASI AN

TEST 8 SASI AN

Professional Development

15 Qs

DSBS-FN-30.01.2024

DSBS-FN-30.01.2024

Professional Development

15 Qs

De todo

De todo

1st Grade - Professional Development

16 Qs

Sasi-FN-04.05.2024

Sasi-FN-04.05.2024

Professional Development

15 Qs

SASI -1st year -DAY1-AN(18.12.23)

SASI -1st year -DAY1-AN(18.12.23)

Assessment

Quiz

English

Professional Development

Hard

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { signed char chr; chr = 128; printf("%d\n", chr); return 0; }
128
-128
Depends on the compiler
None of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is short int in C programming?
The basic data type of C
Qualifier
Short is the qualifier and int is the basic data type
All of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { float f1 = 0.1; if (f1 == 0.1) printf("equal\n"); else printf("not equal\n"); }
equal
not equal
output depends on the compiler
error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int x = 10000; double y = 56; int *p = &x; double *q = &y; printf("p and q are %d and %d", sizeof(p), sizeof(q)); return 0; }
p and q are 4 and 4
p and q are 4 and 8
compiler error
p and q are 2 and 8

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> void main() { int x = 0; if (x = 0) printf("Its zero\n"); else printf("Its not zero\n"); }
Its not zero
Its zero
Run time error
None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int i = 1; if (i++ && (i == 1)) printf("Yes\n"); else printf("No\n"); }
Yes Depends on the standard
No
Depends on the compiler
Depends on the standard

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> void main() { int x = 0, y = 2, z = 3; int a = x & y | z; printf("%d", a); }
3
0
2
run time error

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?