
ÔN TẬP C - mảng 1 chiều
Authored by cư ờng
Computers
University
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho b bằng 5 và c bằng 8. Hãy cho biết giá trị của a,b,c sau khi thi hành riêng biệt từng dòng lệnh sau:
a=b++ + c++;
13
14
15
16
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho b bằng 5 và c bằng 8. Hãy cho biết giá trị của a,b,c sau khi thi hành riêng biệt từng dòng lệnh sau:
a=b++ + ++c;
14
13
12
15
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Hãy cho biết giá trị của b và a sau đoạn chương trình:
int a,b=2;
b=(a=3,(5*b)+(a*=b));
a=6, b=16
a=3, b=2
a=6, b=2
a=3, b=16
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Chỉ thị nào sau đây là đúng khi dùng để khai báo một biến nguyên có tên là sum
a) sum: integer;
b) integer sum;
c) int sum;
d) sum int;
a
b
c
d
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Câu lệnh nào sau đây là đúng để thực hiện việc in ra giá trị của biến thực discount
a) printf(“%s”,discount);
b) print(‘discount’);
c) printf(“%f”,discount);
d) printf(“%f”,&discount);
a
b
c
d
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây in ra màn hình số lớn nhất giữa số nguyên A và B :
a) If (A > B) printf(“%d”,B); else printf(“%d”,A);
b) If( A > B) printf(“%d”,A); else printf(“%d”,B);
c) If (A > B) scanf(“%d”,A); else scanf(“%d”,&B);
d) If (A < B) printf(“%d”,A); else printf(“%d”,B);
a
b
c
d
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Khi chạy chương trình :
#include “stdio.h”
int S, i ;
void main()
{
i = 3; S= 40;
if ( i > 5 ) S= 5 * 3 + ( 5 - i ) * 2;
else if ( i > 2 ) S= 5 * i;
else S= 0;
}
Giá trị sau cùng của S là :
0
19
40
15
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
18 questions
SQL Quiz
Quiz
•
University
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Adobe Photoshop
Quiz
•
University
11 questions
Access
Quiz
•
10th Grade - University
10 questions
Choose the level of Bloom’s Taxonomy
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University