
Lập trình c
Authored by HUNG NGUYEN
Instructional Technology
University
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
92 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
câu 1: khẳng định nào sau đây là sai khi nói về ngôn ngữ lập trình c?
A. C phân biệt chữ hoa và chữ thường.
A. C là ngôn ngữ lập trình bậc cao.
A. C có thể dùng để phát triển các phần mềm ứng dụng, điều khiển robot…
A. C là ngôn ngữ máy tính có thể trực tiếp hiểu và thực hiện được.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 50 : Kết quả chương trình sau khi thực hiện chương trình sau ?
#include <stdio.h> #include "conio.h" void main()
{
int i = 3; switch (i)
{
case 0+1: printf("A"); break;
case 1+2: printf("B"); break;
default: printf("ABC");
}
getch();
}
A. A
A. B
A. ABC
A. Cả A,B,C đều sai
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 49 : Kết quả chương trình sau khi thực hiện chương trình sau ?
void main()
{
double k = 0;
for (k = 0.0; k < 3.0; k++);
printf("%lf", k); getch();
}
A. 012
B. 3
B. 2
B. Lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 48: Phát biểu nào đúng cho hàm sau?
long fun(int n)
{
int i;
long f = 1;
for(i = 1; i <= n; i++) f = f*i;
return f;
}
A. Hàm tính mũ n của 1 số nguyên
A. Hàm tính giai thừa của một số nguyên
A. Hàm tính căn bậc 2 của 1 số nguyên
A. Không đáp án nào đúng
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 47: Kết quả chương trình sau khi thực hiện chương trình sau ?
void main()
{
int x = 0; switch(x)
{
case 1: printf( "One" ); case 0: printf( "Zero" );
case 2: printf( "Hello World" );
}
}
A. One
A. Zero
A. Hello World
A. ZeroHello World
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 46: Lệnh trong vòng lặp do..while được thực hiện ít nhất?
A. 0 lần
A. 1 lần
A. 2 lần
A. vô hạn
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 45: Lệnh nào không phải cấu trúc vòng lặp?
A. for
A. do while
A. while
A. repeat until
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?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University