
OS with C programming
Authored by Saksit Sirisakda
Computers
University
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ฟังก์ชันใน stdio.h ของภาษาซี ที่ใช้ในการแสดงผล
print();
printf();
prinf();
pinf();
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ข้อใดแสดงผลลัพธ์คำว่า Hello OS ออกมา
printf(Hello OS);
printf('Hello OS');
printf("Hello OS");
printf(Hello OS)
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ฟังก์ชันใน stdio.h ของภาษาซี ที่ใช้ในการรับค่าจากทางแป้นพิมพ์ผู้ใช้
scanf();
read();
in();
input();
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
รับค่าจำนวนเต็มใส่ให้ตัวแปรชื่อ number ยังไง
scanf("%d", &number)
scanf("%f", &number)
scanf("%s", &number)
scanf("%c", &number)
Answer explanation
เราใส่ & เพื่อบอกว่าเอาที่อยู่หน่วยความจำ (memory address) ของตัวแปรตัวนั้น
สำหรับตัวแปรอาร์เรย์ ไม่ต้องใส่ เพราะตัวมันเก็บ memory address ของสมาชิกตัวแรกไว้อยู่แล้ว
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
%s ใช้บ่งบอกชนิดของค่าที่เป็นอักขระ (Character)
จริง
หลอก
Answer explanation
%s คือ ข้อความ
%c คือ อักขระ
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ค่าชนิดสตริง (Type of string) ในภาษาซี โดยพื้นฐานแล้วไม่มี
จริง
หลอก
Answer explanation
เราสามารถสร้างสายอักขระ (String) ได้จากการสร้างอาร์เรย์ของอักขระแทน
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ประกาศตัวแปรสตริง ทำอย่างไร
char a = "Hello";
char a[ ] = 'Hello';
string a = "Hello";
char a[ ] = "Hello";
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
10 questions
6-文件操作
Quiz
•
University
10 questions
WEBDEV101
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
15 questions
Round 2 Debug-The-Code
Quiz
•
University
15 questions
CSE 102 Exam 2 Practice
Quiz
•
University
10 questions
cp06-01-1D-Array
Quiz
•
University
10 questions
วิทยาการคำนวณ ม.1
Quiz
•
University
15 questions
ARRAYS AND FUNCTIONS
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade