C Programming For Loop Review cf

C Programming For Loop Review cf

10th Grade - University

8 Qs

quiz-placeholder

Similar activities

Quiz Informatica Jornadas Orientación Asunción

Quiz Informatica Jornadas Orientación Asunción

12th Grade - University

10 Qs

Programação Front End - CSS avançado

Programação Front End - CSS avançado

11th Grade

10 Qs

PEMOGRAMAN DASAR X KJ 1

PEMOGRAMAN DASAR X KJ 1

10th Grade

10 Qs

Python Level 3 - Minecraft

Python Level 3 - Minecraft

5th - 12th Grade

11 Qs

แบบทดสอบวิชาออกแบบชุดที่2 เรื่องวัสดุ อุปกรณ์ทางเทคโนโลย

แบบทดสอบวิชาออกแบบชุดที่2 เรื่องวัสดุ อุปกรณ์ทางเทคโนโลย

8th Grade - University

10 Qs

RAM&HDD/SSD

RAM&HDD/SSD

10th - 12th Grade

13 Qs

KT 15 PHUT

KT 15 PHUT

10th Grade

10 Qs

Technology Week HTG Quiz - Monday

Technology Week HTG Quiz - Monday

7th - 12th Grade

10 Qs

C Programming For Loop Review cf

C Programming For Loop Review cf

Assessment

Quiz

Computers

10th Grade - University

Practice Problem

Medium

Created by

Curtis Forbes

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...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many times will the message be printed in the loop?

for(i = 0; i< 10; i++)

printf("Today is Saturday"

0

9

10

11

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What was omitted from the following line of code?


scanf("%f", cost);

printf

%d

&

#

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

State the error in the code fragment

char[15];

printf("Enter a name");

scanf("%d", &name);

&

char

[15]

%d

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many times will the message be printed?

for(j=0; j<=10; j++)

printf("Happy birthday");

0

9

10

11

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output from the code fragment?

for(j=3; j>0; j--)

printf("%d", j);

1 2 3

0 1 2 3

3 2 1

3 2 1 0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following code print?

for(k = 2; k<=10 ; k = k+2)

printf("%d", k);

1 2 3 4 5 6 7 8 9 10

2 4 6 8 10

10 8 6 4 2

2 4 6 8

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For loop are used for bounded iteration

true

false

Access all questions and much more by creating a free account

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?