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

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

Professional Development

15 Qs

quiz-placeholder

Similar activities

2025 - APM - BACKGROUND

2025 - APM - BACKGROUND

Professional Development

11 Qs

My Energy-IQ

My Energy-IQ

Professional Development

10 Qs

Brush up and have fun - New CNA Platinum 1

Brush up and have fun - New CNA Platinum 1

Professional Development

13 Qs

Confined Space Safety

Confined Space Safety

Professional Development

15 Qs

TO A-UNIT 9-10

TO A-UNIT 9-10

Professional Development

15 Qs

Job Application Letter - Lesson 1

Job Application Letter - Lesson 1

Professional Development

12 Qs

VOCAB ADAMS 8TH ENRICHMENT

VOCAB ADAMS 8TH ENRICHMENT

KG - Professional Development

10 Qs

WORKPLACE PHRASES

WORKPLACE PHRASES

10th Grade - Professional Development

10 Qs

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

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

Assessment

Quiz

English

Professional Development

Practice Problem

Hard

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?