FCPC - COMPORG - MAct2

FCPC - COMPORG - MAct2

University

10 Qs

quiz-placeholder

Similar activities

Types of Software

Types of Software

University

10 Qs

linux basics

linux basics

9th Grade - University

10 Qs

CompTIA Core 2  20221023

CompTIA Core 2 20221023

University

10 Qs

ITT420 - Chapter 1: System Administrator

ITT420 - Chapter 1: System Administrator

University

10 Qs

Kuis - Materi Tentang Pengenalan Komputer

Kuis - Materi Tentang Pengenalan Komputer

12th Grade - University

10 Qs

BCA I

BCA I

University

10 Qs

ASSEMBLER

ASSEMBLER

University

15 Qs

Hakdad - information technology - basic knowledge

Hakdad - information technology - basic knowledge

12th Grade - Professional Development

15 Qs

FCPC - COMPORG - MAct2

FCPC - COMPORG - MAct2

Assessment

Quiz

Computers

University

Hard

Created by

ALVIN CERTEZA

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the primary purpose of system calls in assembly language?

To perform arithmetic calculations

To manage memory allocation

To interact with the operating system

To define new programming languages

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which register typically stores the result of a system call in x86 assembly?

EAX

EBX

ECX

EDX

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of the int 0x80 instruction in 32-bit x86 assembly?

To call a function

To trigger a system call

To perform an arithmetic operation

To jump to a memory address

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which system call is used to open a file in Linux?

sys_read

sys_open

sys_write

sys_close

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In x86 assembly, what is the purpose of the ecx register during a system call?

To store the system call number

To store the file descriptor

To store data to be written

To count the number of loop iterations

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following system calls is used to create a new process in Linux?

sys_open

sys_close

sys_fork

sys_read

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the exit system call do in Linux?

Opens a new file

Reads data from a file

Terminates the current process

Writes data to a file

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?