OS with C programming

OS with C programming

University

12 Qs

quiz-placeholder

Similar activities

C Quiz

C Quiz

University

12 Qs

Prueba de Algoritmo y Programación

Prueba de Algoritmo y Programación

University

10 Qs

python_basics

python_basics

University

10 Qs

PythonProgramming

PythonProgramming

University

15 Qs

Indesign

Indesign

University

12 Qs

System Design - Planning Phase

System Design - Planning Phase

University

12 Qs

Array - Data Structures

Array - Data Structures

University

15 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

OS with C programming

OS with C programming

Assessment

Quiz

Computers

University

Medium

Created by

Saksit Sirisakda

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

เราใส่ & เพื่อบอกว่าเอาที่อยู่หน่วยความจำ (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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?