C-Introduction

C-Introduction

1st Grade

23 Qs

quiz-placeholder

Similar activities

UTS BAHASA INGGRIS SEMESTER GANJIL KELAS 9

UTS BAHASA INGGRIS SEMESTER GANJIL KELAS 9

9th Grade

20 Qs

SVAs

SVAs

3rd - 5th Grade

20 Qs

Fun with English

Fun with English

5th - 12th Grade

20 Qs

Possesive Pronouns assignment

Possesive Pronouns assignment

6th - 8th Grade

20 Qs

Irregular Vebs

Irregular Vebs

6th Grade

26 Qs

Clothes

Clothes

1st - 3rd Grade

20 Qs

Ulangan Bab 1&2 Kelas IX

Ulangan Bab 1&2 Kelas IX

9th Grade

20 Qs

3GT Vocabulary theme 1

3GT Vocabulary theme 1

KG - 3rd Grade

20 Qs

C-Introduction

C-Introduction

Assessment

Quiz

English

1st Grade

Practice Problem

Medium

Created by

Avani Khokhariya

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h>

int main() {

int i = 17;

char c = 'c'; /* ascii value is 99 */

int sum; sum = i + c;

printf("Value of sum : %d\n", sum); }

116

96

98

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() {

int sum = 17, count = 5;

double mean;

mean = sum / count;

printf("Value of mean: %f\n", mean); }

3.0000

3.4000

3

3.500

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() {

int sum = 17, count = 5;

double mean;

mean = (double) sum / count;

printf("Value of mean: %f\n", mean); }

3.4000

3.000

3

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main() {

int x = 1;

x = x++ + x++ + ++x;

printf("%d", x);

return 0;

}

7

8

6

5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main() {

int x = 1,y;

y = x++ + x++ + ++x;

printf("%d %d",y, x);

return 0;

}

6 , 6

6, 4

4,6

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main() {

int i;

for(i = 0; i < 5; i++) {

if(i % 2 == 0)

continue;

printf("%d", i);

}

return 0;

}

1 2 3

1 2

1 3

1

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main() {

int x = 3, y = 4;

int z = (x > y) ? x++ : y++;

printf("%d %d %d", x, y, z);

return 0;

}

3 5 4

4 5 4

4 4 3

3 4 3

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?