OS with C programming

Quiz
•
Computers
•
University
•
Medium
Saksit Sirisakda
Used 14+ times
FREE Resource
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";
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C Programming Quiz-1

Quiz
•
University
15 questions
Python Fundamentals

Quiz
•
University
15 questions
C Pointers 17May2023

Quiz
•
University
10 questions
C Programming - Basics 001

Quiz
•
University
15 questions
C programming

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
10 questions
ภาษาไพธอน

Quiz
•
University
15 questions
Python introduction

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University