TIN HỌC :D

TIN HỌC :D

9th - 12th Grade

62 Qs

quiz-placeholder

Similar activities

Ôn tập KTCK1 Tin 10A1

Ôn tập KTCK1 Tin 10A1

10th Grade

60 Qs

Html List and img

Html List and img

12th Grade

61 Qs

Computer Hardware and Software - Term Test

Computer Hardware and Software - Term Test

9th Grade

63 Qs

TIN 6- CÂU HỎI ÔN TẬP GK1

TIN 6- CÂU HỎI ÔN TẬP GK1

6th Grade - University

60 Qs

IC3_GS6_LV2

IC3_GS6_LV2

7th Grade - University

60 Qs

Fizyka

Fizyka

10th Grade

63 Qs

Informatyka LO

Informatyka LO

9th Grade

60 Qs

Tin học 9 HK2

Tin học 9 HK2

9th Grade

63 Qs

TIN HỌC :D

TIN HỌC :D

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Gia Châu

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

62 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là gì:

#include <stdio.h>

void main(

{

int i,j;

for (i=1; i<4; i++)

j=i;

printf(“%3d”,j);

}

1 2 3 4

4

3

2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là gì:

#include <stdio.h>

void main()

{

int a=40, b=4;

while(a!=b) if (a>b) a=a-b;

else b=b-a;

printf(“%d”,a);

}

2

16

8

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả in ra màn hình của chương trình sau là gì:

#include <stdio.h>

void main()

{

int i;

for (i=2; ; i++)

printf(“%3d”,i);

}

vòng lặp vô hạn

2

1 2

2 1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là gì:

#include <stdio.h>

void main()

{

int i,k;

for(i=1; ; i++) k=5;

printf(“%d”,i);

}

0

5

1

vòng lặp vô hạn

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình sau:

int n=0;

for (int i=0; i<10; i+=4) n+=i;

Giá trị của biến n là:

8

12

16

20

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi chạy đọan chuơng trình sau:

#include <stdio.h>

int main()

{

int i;

int sum = 0;

for(i = 1; i <=9; i++)

{

sum = sum + i;

}

printf("sum = %d\n", sum);

return 0;

}

Chuơng trình sẽ in kết quả là:

10

45

1

chương trình báo lỗi

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi chạy đọan chuơng trình sau:

#include <stdio.h>

int main()

{

int i;

int sum = 0;

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

{

sum = sum + i;

}

printf("sum = %d\n", sum);

return 0;

}

Kết quả của S là :

52

53

54

55

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?