TIN HỌC :D

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Gia Châu
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
60 questions
Python Baseline Test (PCAP I)

Quiz
•
9th Grade - Professio...
60 questions
8 тарау Пайтон

Quiz
•
11th Grade
63 questions
AQA Computer Science [AS Level]

Quiz
•
12th Grade
65 questions
Game Design Semester Exam 2024

Quiz
•
9th Grade
65 questions
Python Booleans and selections 1

Quiz
•
9th Grade
60 questions
Ôn tập KTCK1 Tin 10A1

Quiz
•
10th Grade
60 questions
3rd Quarter Exam in JAVA 4 (Computer Programming)

Quiz
•
12th Grade
64 questions
Trắc nghiệm tin 11

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade