WorksheetsChapter 4
Total questions: 20
Worksheet time: 42mins
Which of the following are system softwares?
Operating systems
Word Processor
Video Games
Utility Softwares
Web Browser
Which software is the following statement describing:
A type of software provides the services that the user requires.
System software
Application software
Operating system
Router
Microprocessor
Which of the following roles are operating system's role?
handle interrupt
send email
play video
manage files
provide an interface
An interrupt is a ______ to tell the processor that something needs its _________.
(a)
Which is a software interrupt?
Division by 0
Printer out of paper
Key pressed on keyboard
Obtuse angle
When will the interrupt handler check the interrupt queue?
When there is a hardware failure
When high priority interrupt is generated
When processor finish its current fetch-decode-execute cycle
When you collect all the Korok Seeds in The Legend of Zelda
Reorder the process of handling interrupt.
Checks interrupt queue to see if there is interrupt with higher priority
Check the source of the interrupt
Store the current process
Call Interrupt service Routine
Return to the stored process
(a) are run on the (b) , which is run on the (c)
Put the labels on the table
Which of the following is correct about types of languages?
Same piece of high-level language can run on different machines.
Assembly language is machine independent.
High-level language is faster than low level language.
High-level language is easier to write and debug.
(a) is a form of (b) that uses (c)
True or False:
Machine can execute executable files without any translators.
True
False
The IDE can provide the following functions:
(a) : to execute the code and display output.
(b) : to enter and amend the code
(c) : when user start to type the code, suggested options can be provided
During the development stage of high-level language, which translator should be used?
Intertpreter
Compiler
Assembler
Operating system
With a compiled language, what is required to run the application software?
Executable file
Source code
Compiler
Interpreter
With a interpreted language, what is required to run the program?
Source code
Intepreter
Compiler
Executable file
Python is an interpreted language.
Li Hua started to learn python today and wrote the following program:
print("Hello, World!")
He ran the program 5 times and get 5 hello world on his screen.
How many times does the computer translate his code?
0
1
5
500
500 is not the correct answer.
When high-level language is translated with a ________, all the code is translated at once, and an __________ file is created.
(a)
Convert the twos complement binary to denary number
1110 1110
(a)
An audio file has a sample rate 96000Hz, sample resolution 8 bits recorded in stereo channel. Duration of audio is 3 minutes. What is the size of the uncompressed file?
Give your answer in MiB, rounded to the nearest integer. (only integer needed for answer)
(a)
