We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
DIVISIONAL PUBLIC SCHOOL AND INTER COLLEGE MODEL TOWN LAHORE
Worksheet # 1 (C1 – Computer Science)
Q.no.1: Most operating systems provide a user interface. (a) User interfaces can be either command line interfaces (CLI) or graphical user interfaces (GUI). Give ONE advantage and ONE disadvantage of both types of interface. Advantage CLI: ……………………………………………………………………………………………...… ……………………………………………………………………………………………………… Disadvantage CLI: ……………………………………………………………………………………………...… …………………………………………………………………………………………………….... Advantage GUI: ……………………………………………………………………………………………..… ……………………………………………………………………………………………………… Disadvantage GUI: …………………………..…………………………………………………………………… …………………………………………………………………………………………………..[4]
(a) What is meant by an interrupt?
…………………………..……………………………………………………………………… …………………………………………………………………………………………………..[2] (b) A user starts the printing of a document, and then carries on editing a second document while printing continues. What buffers are and explain how interrupts and buffers are used while doing multiple tasks? .…………………………..……………………………………………………………………………… ………………..…………………………………………………………………………………………… ..…………………………………………………………………………………………………………… …,,,,,,……………………………………………………………………………………………….. [4] (c) Once a week the user runs a virus checker. What is anti – virus? ............................................................................................................................................................ .......................................................................................................................................................[2] (d) The computer is running a multi-user operating system. Describe what this means. ……………………………………..…………………………………………………………………… ……………………..…………………………………………………………………………………….. ……………………………………..…………………………………………………………………… Q.no.2: Rehman is using the Internet to do some online shopping. He visits a website that tells him that it uses cookies. (a) Explain what is meant by the term cookies. 1................................................................................................................................................... ................................................................................................................................................... 2................................................................................................................................................... ................................................................................................................................................... [2] (b) Give two uses of cookies. Use 1 ................................................................................................................................. ................................................................................................................................................... ................................................................................................................................................... Use 2 ................................................................................................................................. ................................................................................................................................................... ...............................................................................................................................................[2] Q.no.3: Five statements about interpreters and compilers are shown in the table below. Study each statement.
Tick (✓) to show whether the statement refers to an interpreter or to a compiler. [5]
Statement Interpreter Compiler
takes one statement at a time and executes it generates an error report at the end of translation of the whole program stops the translation process as soon as the first error is encountered slow speed of execution of program loops translates the entire program in one go (b) State why a compiler is used when running a high-level program. ............................................................................................................................................................ ............................................................................................................................................................ .......................................................................................................................................................[1]
(c) Give one benefit of writing a program in a high-level language.
............................................................................................................................................................ ............................................................................................................................................................ ...................................................................................................................................................... [1] (d) Give one benefit and one drawback of writing a program in a low-level language. 1............................................................................................................................................................ .............................................................................................................................................................. 2............................................................................................................................................................ ............................................................................................................................................................[2]