Questions According to Each Objective on the C (1)

download Questions According to Each Objective on the C (1)

of 10

Transcript of Questions According to Each Objective on the C (1)

  • 8/21/2019 Questions According to Each Objective on the C (1)

    1/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    Questions according to each objective on the C.X.C Syllabus.

    Unit 1-1

    1a. Draw a diagram showing the principal components of the central processing unit (including the mainstore). On your diagram show the main registers and indicate the paths of data flow.

    (b) Describe the purposes of the following registers;(I) accumulator (ii) seuence control register (iii) store address register (c) !"plain what is meant by a cloc# pulse$ indicating its purpose in the operation of the %entral

    Processing &nit. ('1*)

    +a. &tility programs are often used to carry out routine operations on files. ,ame three such utility programs.

    +b. -ome deices are controlled by dedicated microprocessors. -uggest two adantages of using adedicated microprocessor rather than controlling the deice with a microcomputer. ('*/)

    0a. &sing appropriate e"amples$ e"plain the difference between discrete and continuous data.0b. Define the terms hard copy2 and soft copy2. (%1/0)

    3a. Describe two functions of each of the following components of a computer4(i) %ontrol &nit (ii) 5rithmetic 6ogic &nit (iii) 7ain 7emory (%1/3)

    3b. Draw a diagram showing the components of a computer system$ indicating clearly the direction inwhich data flow. (%+/8)

    3c. ,ame the hardware component that performs each of the following functions4(i) -tore programs and data that are currently being used by the %P&(ii) Performs logical operations within the %P&(iii) -tores programs and data that are not currently being used by the %P&(i) Directs internal operations within the %P&

    3d. 5 computer system consists of seeral hardware deices and software components. The #eyboard$mouse and printer are all peripheral deices connected to the systems unit. The systems unit comprises of a%entral Processing &nit (%P&) and a component$ (5)$ which holds the data and programs that are currently being used. The %.P.& in turn consists of two components. One component$ (9)$ directs internal operationswithin the %.P.&; and the other component$ (%)$ is responsible for the manipulation of the data. In addition$

    there is another storage component$ (D)$ which stores data and programs that are not currently being used by the %P&

    -tate the component that performs each of the functions named 5 to D and underlined aboe.

    Unit 1-

    1. 5 uniersity has a mainframe computer and a large number of terminals for students2 use.!ach student is allowed a limited amount of bac#ing storage for #eeping programs and files.

    (a) :hat type of bac#ing storage would be most appropriate for #eeping students2 files 'ie reason

  • 8/21/2019 Questions According to Each Objective on the C (1)

    2/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    -uggest an adantage and a disadantage of increasing the si>e of a buffer.0b. !"plain the functions of interrupts in the transmission of data.

     (a) (i) %haracter printer (ii) 6ine printer  (b) (i) 7icrofilm output (ii) Printed output(c) (i) 7agnetic tape (ii) 7agnetic hard dis#  (d) (i) Optical dis# (ii) 7agnetic hard dis#  

    3. !"plain briefly the following terms4 bistabe deice$ gigabyte$ operating system$ and bar code.

    Unit 1-!

    1. !"plain the term buffer

    +a. In some microcomputers the operating system is contained in a ?O7 (read only memory) chipwhich is inside of the computer. In other cases the operating system is supplied on a magneticdis#. Describe the relatie adantages and disadantages of these appraoches.

    +b. -preadsheet programs are an e"ample of general=purpose pac#ages which are now aailable for 7icrocomputers. 9riefly describe three other general=purpose pac#ages.

    0a. Describe one use of a %D=?O7.

    0b. 'ie two reasons why %D=?O7s are suitable for that use.

    3a. !"plain the difference between serial access to data and direct access to data.3b. :hich storage medium would you choose for files reuiring4 (i) serial access (ii) direct access.3c. -tate an application for which it would be appropriate to use4 (i) serial access (ii) direct access

    8. %ustomer of Inter9an# are issued with plastic cards which hae a magnetic stripe on the bac#.8a. 'ie two items of information contained in the magnetic stripe.8b. The card can be used to get cash from an automatic teller machine (5T7). -tate two ways the

    customer is preented from drawing large sums of money from the machine.

    @. :hen customers arrie at a car par#$ they insert a credit card into a machine and enter a personal ,umber. The card stores an account number which is alidated and then chec#ed against the

     personal number. The account number consists of @ digits.@a. Describe three alidation chec#s which may be carried out on the account number.@b. The account number$ time of entering and time of leaing are entered into a serial file. :hat is a

    serial file.@c. !ach night the computer creates a seuential transaction file. :hat is a seuential transaction file@d. The computer then updates the master file. Other than the customers2 name and addresses$ what

    information would be held on the master file

    *a. :hat is a buffer *b. :hy is a buffer needed between a %P& and a printer*b. %ompare the use of floppy discs and hard discs by giing two adantages of each.*c. :hat is a 6ocal 5rea ,etwor# (65,)*d. ?efer to a particular application to e"plain the use and benefits of a 65,.*e. !"plain why a buffer is used in the output of data to a line printer.

    *. :hen a program ma#es a read reuest to the hard dis#$ the deice which reads data from the dis# Is moed along a radius to the particular concentric circle circle on which the data is stored. :henthe releant part of the concentric circle of the dis# arries under the deice which reads the data$the data is read and stored in a special area of memory from which it could be accessed.

    -tate the proper technical terms for each of the four=underlined phrase in the passage aboe.

     Page 2 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    3/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    &nit 1=8

    1. 5 microprocessor=controlled sewing machine uses a touch=sensitie pad for input.(a) :hat is a touch=sensitie pad(b) :hy is it an appropriate deice in this case(c) 'ie another deice in the home$ other than a computer$ where touch sensitie pad may be

    appropriate.

    +. The Aueenstown Telephone company proides a telephone serice for all telephone users in the%ity of Aueenstown. !ery three months each customer pays a fi"ed rental charge of B+3$ plus acharge of cents for each unit used. 9ills are printed by the %ompany2s computer using a line printer.The address of the Aueenstown Telephone %ompany is 9usby Couse$ 9ell 6ane$ Aueenstown=under=Cill$ AC3 0T%.

    (a) Design a standard layout which could be used for sending the bills to customers. &se your designTo show the bill that would be sent to 7rs. 6aura Oliia %aller$ +8 Cumber %lose$ Aueenstown=under=Cill$ AC +!E$ who has used +3 telephone units. 7a#e clear in your diagram those itemswhich are printed by the computer.

    (b) The number of telephone units used by each customer is calculated by ta#ing a reading from the%ustomer2s meter. The reading is then input into the %ompany2s computer$ together with thecustomers reference number. :ith the help of an e"ample$ or otherwise$ describe the stepsinoled in calculating the amount due from a customer$ and printing the appropriate data on thecustomer2s bill.

    0. 5 supermar#et warehouse stores a ariety of items which are deliered to the supermar#et whenThey are needed. 5lso$ items from manufacturers are receied in the warehouse from time to time.The warehouse computer maintains a stoc# file$ which holds information on all items stored in thewarehouse.

    (a) 'ie e"amples of two typical records which might appear in the stoc# file.(b) %arefully describe each field in the stoc# file$ and e"plain its purpose.

    (c)

  • 8/21/2019 Questions According to Each Objective on the C (1)

    4/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    . 'ie two uses of e"pert systems.

    /. :hat is the purpose of each of the following steps when changing from a manual to a computersystem.

    1. 5 credit card company issues a personal credit card to each of its customers. !ach card carries auniue reference number and is signed by its owner.

    :hen the customer wishes to purchase goods from a shop he or she may$ instead of paying cash$use the card to obtain goods on credit. To do so$ the customer hands the personal credit card to thesales assistant; the assistant ma#es a copy of the reference number and customer2s name on aspecial slip of paper$ and notes the amount owed by the customer. The slip is then signed by thecustomer and returned to the credit card company.5t the end of each month the credit card company sends the customer a bill listing all thecustomer2s transactions during the month$ and the customer pays the credit card company theamount owing.

    (a) 5 %ompany is used by the credit card company for handling customers2 accounts and sendingmonthly bills to customers. !"plain why batch processing is an appropriate method of processingcustomers2 transactions and producing monthly bills.

    (b) Describe the measures which should be ta#en to ensure that the data processed by the computer isaccurate. Indicate the problems that would be caused if the arious types of data were inaccurate.

    (c) It is proposed that eery shop using the credit card system should be connected to the company2scomputer by an on=line terminal. Indicate the adantages and disadantages of this proposal. -tate$with reasons$ whether you would agree with the proposals.

    (d) The company2s computer contains a great deal of personal data. :hy should the company ta#ecare that this data is #ept priate.

    11. 5n 5utomatic Teller 7achine (5T7) allows ban# customers to withdraw cash from a machine at5ny time of the day or night.

    (a) -tate two other ways that an 5T7 helps customers.(b) %ustomers use two deices for data input. :hat are they(c) -tate two #inds of output which may be used to pass information to the customer.

    1+. :hat is meant by multi=access

    10. 5 bar code is an input deice which reads data presented in a machine=readable form. 'ie twoother input deices which can read data automatically. In each case gie an e"ample of anapplication which can ma#e use of the deice.

    13a.

  • 8/21/2019 Questions According to Each Objective on the C (1)

    5/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    1@a. 7atch the following applications with the most appropriate input deice.5PP6I%5TIO, D!I%!-Point=of=sale optical mar# reader  'ames #eyboard5rchitectural design magnetic in# character recognition7ultiple=choice e"amination microphonePublishing pads and tablets%heue processing barcode reader  6anguage processing Hoystic#  Preparing letters scanner  

     1@b. 7atch !5%C characteristics$ listed 5 to C below with the 7O-T appropriate deice.

    %C5?5%T!?I-TI% D!I%!7odulates and demodulates signals Plotter  5ccepts oice inputs Jeyboard5llow users to input architectural plans 7odems?eads in graphics data 'raphics tablet&sed for printing architectural plans 7icrophone&sed for entering te"t documents 9arcode reader  

    ?etriee pricing data from grocery items Goystic#  &sed to moe the cursor -canner  

    &nit 1=@

    1 Cow is handsha#ing used when a document is being printed +. 'ie a commercial or industrial application for which each of the following deices might be

    used. (a) Daisy wheel printer (b) 6aser printer (c) isual display unit. (d) 6ine printer (e) plotter 0. !"plain why a buffer is used in the output of data to a line printer.3. Define the terms hard copy and soft copy.

    8. -tate one adantage and one adantage and one disadantage of the first item oer the second item

    in each of the following pairs4(a) (i) %haracter printer (ii) 6ine Printer  (b) (i) 7icrofilm output (ii) Printed output(c) (i) 7agnetic Tape(ii) 7agnetic hard dis# (d) (i) Optical dis# (ii) 7agnetic hard dis#  

    @. -tate one difference between character printers and line printers

    *a. ,ame a type of deice which produces a human readable copy*b. ,ame a type of deice which produces a machine=readable copy.*c. ,ame a type of deice that accepts data in human readable form.

    a. Define the term resolution as it applies to a graphics display.

    b. 'ie TC?!! e"amples of input deices that can read data directly from source documents.c 'ie two adantages of using deices that can read data directly from source documents.

    &nit 1=*1. 'ie an e"ample of an application which uses Optical %haracter ?ecognition (O%?) and an

    adantage of its use.+a. :hat is the ma"imum number of different characters which can be represented using a group of

    eight bits

     Page 5 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    6/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    +b. 5 certain computer is able to represent only the +@ upper case letter 5 to K$ the +@ lower case letter a to > and the ten digits to /. :hat is the minimum number of bits reuired to represent this setof characters

    +c. If the computer were also able to represent a full stop$ a comma and a uestion mar#$ how many bits would be reuired for each character 'ie a reason for your answer.

    0. 5 certain computer uses +1=bit words$ each of which can be used to store three characters. :hat isthe ma"imum number of characters in the computer2s character set

    3a. !"plain the difference between analogue data and digital data.3b. 'ie an e"ample of data which would be represented in4 (i) analogue form (ii) digital form

    8a. In 5-%II %Lcode$ the letter of the alphabet are stored using consecutie codes. If 11represent 92$ what is the representation of '2

    8b. 'ie the binary alue of +01 M 111+.

    *. !"plain briefly !5%C of the following terms4 bistable deice$ gigabyte$ operating system$ barcode.

    a. In a certain character coding system$ each character occupies * bits and the letters of the alphabet

    are assigned consecutie codes. If 111 represent 72$ what2s the representation of C.b. :hat is the alue of E in the following euations 8+1 N E+ L 11111+.

    /a. %onert the decimal number 88 to its binary euialent./b. %onert the binary number 1111 to its decimal euialent./c. 5dd the binary numbers 111 and 111/d. The 5-%II code for the letter C has a decimal euialent of *+. :hat is the 5-%II code for P.

    1. Define the following4 source code$ obHect code$ compiler 

    11a. %onert the decimal number 8*1 to a binary number.11b. %onert the binary number 111111+ to a decimal number.11c. !"plain the parity2$ as it relates to the coding of characters.

    11d. 5dd the binary numbers 1111+ and 1111+.

    1+a. %onert the decimal number 0 to its binary euialent.1+b. %onert the binary number 11111 to its decimal euialent.1+c. 5dd the two binary number 111 and 1111+d. !"plain the difference between discrete and continuous data.

    10a. %onert *1 to its binary euialent.10b. 5dd the two binary numbers 1111+ and 1111+$ giing your answer in binary form.10c. 'ie the 9%D representation of 8/1.10d. 'ie the 9%D representation of N8/1.

    13a. %onert the decimal number /1 to a binary number.

    13b. %onert the binary number 1111+ to a decimal number.13c. 5dd the two binary numbers 111+ and 111+$ giing your answer as a binary number.13d. Determine the 9%D representation of *1.

    &nit 1=1. -tate two functions performed by the operating system in a computer.+. Describe three different tas#s that could be performed by a computer operating system.

     Page 6 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    7/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    0. Operating systems perform some tas#s which would otherwise need to be done by a computer Operator and some which an operator would not.(i) 'ie three tas#s performed by an operating system which could otherwise be performed

     by the computer operator.(ii) 'ie one tas# performed by an operating system which would not otherwise be

     performed.

    3. ,ame two facilities you would e"pect to find in a computer based learning system.8. 7any operating systems use a tree structure for directories. &se a labeled diagram to describe a

    typical structure$ showing directories and subdirectories.

    @. 6ist (3) functions of an operating system.

    *a. -tate three functions of an operating system.*b. Identify the type of processing mode that would be suited for the following applications4

    (i) 7onthly payroll (ii) Transactions at an 5T7. (iii) Processing electricity bills

    &nit 1=/1a. Describe the facilities offered by commercial word processing systems.1b. Indicate how the use of word processors has changed the wor# carried out by typists and

    secretaries.1c. Indicate the adantages$ for management and the general public$ of introducing word processors

    into commercial organi>ations.1d. The introduction of computers and computeri>ed euipment into large organi>ations is often

     blamed for causing unemployment.'ie reasons why the introduction of computers sometimes causes unemployment.

    1e. 'ie reasons why$ in other cases$ the introduction of computers does not cause unemployment.

    +a.. 'ie one benefit to the user of custom written software.+b. 'ie one benefit to the user of general=purpose software.+c. !"plain briefly O,! distinguishing feature of each interface 4 (i) %ommand 6anguage Interface

    (ii) 'raphical &ser Interface0. -tate one difference between general=purpose software pac#age and speciali>ed software pac#age.

    &nit 1=11. Describe two benefits of 'raphical &ser Interfaces.+. :hat is the maHor interfacing deice for4 (i) a command language interface (ii) a '&I

    0. Gohn receies computer hardware from a friend who lies in the &nited -tates of 5merica$ but the-oftware was missing. Ce$ therefore$ decided to purchase the necessary software. In order for hissystem to run he reali>ed that he would hae to purchase software to manage the resources of thecomputer as well as software that could proide for his particular needs.

  • 8/21/2019 Questions According to Each Objective on the C (1)

    8/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    &nit 1=111. :hat is the purpose of formatting or initiali>ing a dis#ette.

    &nit 1=13.1. 'ie two adantages of electronic mail oer normal post.+. 5 secondary school is planning to purchase a new set of computers and you hae been as#ed to gie

    adice. %omment on the following.(a) The adantages and disadantages of installing a local networ# of computers$ rather than separate

    computers.(b) The adantages and disadantages of being able to lin# into a central mainframe computer.(c) The relatie merits of 1@=bit and =bit microcomputers.

    0. There are now many dial=up information systems which can be accessed using a home computer$together with a modem and communications software. 5s well as displaying information in iewdataformat$ they contain programs which users can download$ and many offer electronic mail.!"plain what is meant by each of the underlined terms.

    3. Describe two ways a networ# manager could protect shared data and programs from corruption.8. !"plain why an office would install a star networ# rather than a linear networ#.@a. :hat is electronic mail @b. 'ie two adantages of electronic mail oer normal post.

    @. 5bacus %ollege has a 6ocal 5rea ,etwor# (65,) which is used by its students. -tudents log on at awor#station and use software such as wordprocessors and spreadsheets.

    (a) Draw a labeled diagram of a 65,.(b) !"plain what the operating system of a 65, does when a user logs on and selects a spreadsheet

     pac#age.(c) !"plain how the operating system allows users to share a printer.

    *a. Draw a labeled diagram showing a local area networ# (65,) which can be connected to a wide areanetwor# (:5,).

    *b. 'ie one feature aailable on a :5, that is not aailable on a 65,.

    *c. Define each of the following terms as it applies to data transmission4 oice band$ simple"$ half=

    duple".

    *. !ach regional office of the Gamaican

  • 8/21/2019 Questions According to Each Objective on the C (1)

    9/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    1a. Define the term protocol2 as it relates to data communication.1b. Digital transmission can occur in three of the following ways4

    (i) Data can be transmitted in one direction only.(ii) Data can be transmitted in both directions but not at the same time(iii) Data can be transmitted in both directions simultaneously.

    -tate the correct technical term for each of the transmission methods aboe.

    &nit +=11a. !"plain briefly the difference between an assembly language and a high leel language.1b. 5s high leel languages hae deeloped$ arious facilities hae been proided to ma#e program

    deelopment easier and more efficient. Describe the facilities that are now aailable.1c. -ome high leel languages allow a number of data types to be used. 9y referring to appropriate

     programming languages$ describe the data types with which you are familiar.

    +. !"plain what is meant by a compiler$ indicating why compilers are needed.0. 'ie two features of high leel languages which are not shared by assembly languages.3a. !"plain the difference between a high leel programming language and a machine leel language.3b. !"plain the difference between an interpreter and a compiler 

    &nit +=+1. !"plain the difference between string data and numeric data.

    &nit +=031. :or#ers entering a building use cards which hae the sum of their /=digit personal identification

     ,umbers (PI,) stored on them. :hen a card holder passes a card through the card reader and #eys in a/=digit PI,$ the following algorithm is used to chec# the alidity of that PI,. 

    initiali>e count and total to >ero  read the sum of the PI, digits

    while the count is less than nine doinput a digittotal euals total plus digit

    count euals count plus oneendwhile

      if the total euals the sum allow access  else sound alarm

    (a) !"plain the output obtained for %5?D O,! and %5?D T:O when they are passed through the cardreader with the following PI,s #eyed in.

    %5?D O,! with 30 as the sum of its PI, digits and the PI, +0*3@880 is #eyed in.%5?D T:O with 8/ as the sum of its PI, digits and the PI, /*@*/1 is #eyed in.

    (b) -ecrets areas reuire an 11=digit PI,. The sum of the first eight digits and the sum of the last threeDigits are stored on these cards. 7odify and rewrite the algorithm to chec# a secret area PI,

    which is #eyed in after a card with @3 +3 stored on it has been passed through the cardreader.

     Page 9 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    10/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    +. ?ead this algorithm.7a#e countone L 7a#e counttwo L ?!5D character :CI6! character I- ,OT a full stop DO

    I< character L a space or a punctuation mar# TC!,7a#e countone L countone M 1

      !6-!7a#e counttwo L counttwo M 1

    !,DI<?!5D character !,D:CI6!7a#e countone L countone M Q7a#e answer L counttwocountoneO&TP&T answer !,D

    (a) If the input is 7y name is 9ill. $ what is the output(b) :hat do the ariables countone$ counttwo and answer represent(c) :hat happens if the following data is entered Cello$ :hat is my name

    (d) !"plain how the algorithm should be modified to cope with an e"clamation mar# (Q) at the end of thedata.

    0. %omputer programs need to be tested.(a) Cow should test data be chosen(b) Cow does a trace routine help to test a program(c) 7ost programs contain repetition and selection instructions. :ith the help of e"amples e"plain

    what is meant by (i) repetition (ii) selection .

    3. Two concepts of structured programming are top=down design (using modules) and stepwiserefinement of a module.

    (a) 'ie two reason s why top=down design may help a programmer to write error=free programs.(b) :hat is meant by stepwise refinement.

    8.?ead this algorithm.

    -et the wordcount to -et the charcount to ?ead the ne"t word?!P!5T

    -et length to number of character in the wordIncrease the charcount by lengthIncrease wordcount by 1?ead the ne"t word

    &,TI6 the word is R-!,TS-et the aerage to charcout diided by wordcount

    Output the aerage

    (a) &sing the data I 6IJ! %O7P&T!? -T&DI!- -!,T $ Dry run the algorithm by completing thistable.

     Page 10 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    11/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    :ordcount %harcount :ord 6ength Is word LR-!,TS

    Output

    1 1

    (b) :hat is the purpose of each of the ariables wordcount and charcount(c) :hat is purpose of the algorithm(d) :hat is the purpose of the word R-!,TS(e) :hat problem will occur if this data is used TC! %O7P&T!? :5- -!,T

  • 8/21/2019 Questions According to Each Objective on the C (1)

    12/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    a. &sing a trace table$ dry run the following algorithm. -how the output at each stage.-et the count eual to >ero-et the number eual to negatie one-et the total eual to >ero?epeat  %ount euals the count plus one  ,umber euals the number plus two  Total euals the total plus number   Print the total&ntil the count euals four 

    %ount ,umber Total Output

    =1

    (b) :hat is the output if the loop terminates when the count euals 8(c) %hange the algorithm so that it uses a :hileDo!ndwhile structure instead of a ?epeat&ntil

    structure.

    /. :rite a pseudocode algorithm to read a positie integer , followed by , integers. ero and non=>ero alues.

    1. :rite a pseudocode algorithm to print a conersion table from miles to #ilometers. The table rangesfrom 8 to 1 miles in steps of 8 (1 mile L 1.@1 #ilometers).

    11. :rite a pseudocode algorithm to read a set of positie integers (terminated by ) and print theiraerage as well as the largest of the set.

    1+ :rite an algorithm to interchange the alues in + ariables 5 910 :rite an algorithm to read the names and ages of 1 people and print the name of the oldest person.

    5ssume that that there are no persons of the same age. Data is supplied in the following form4 name$age$ name$ age etc.

    13 :rite an algorithm to read an integer alue for -%O?! and print the appropriate grade based on thefollowing4

    -%O?! '?5D! or more 5

    less than but 9@8 or more

    less than @8 but %

    8 or more

    less than 8 <

    18 :rite a pseudocode to read in three numbers and print the highest and lowest number.

     Page 12 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    13/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    1@ The following data represents some sample score obtained by students in a test48$ 3$ *$ 1$ $ 1$ $ /$ $ ///

    /// is the dummy alue which terminates the data. :rite a pseudocode algorithm to read any data inthe aboe format$ and print the number of students scoring and the number scoring 1.

    1*. :rite an algorithm which prompts the user to enter the price of an item and which calculates and prints the new price after a discount of 1+U.

    1. :rite an algorithm to read in two numbers into 5 and 9. The algorithm should store the smaller in 5and the larger in 9$ and then print 5 and 9.

    1/. :rite an algorithm to read !6!!, number$ find their aerage and print it. The algorithm shouldalso print the number of times the number @ occurs in the data.

  • 8/21/2019 Questions According to Each Objective on the C (1)

    14/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    &nit +=8

    1. :hat is printed by the following algorithm when n L 8

    If (n L 1) or (n L +) thenC L 1

    elsefL1gL1for H L 1 to n=+ do

    h L f M gf L gg L h print h

    endfor end if  print f$ gstop

    +. :hat is printed by the following algorithm

    -&7 L , L +:CI6! , V 0 DO

    -&7 L -&7 M ,P?I,T ,$ -&7 , L , M 0

    !,D:CI6!

    0. %opy the following trace table in your answer boo#let.

    E 7 F K

    3 13

    3

    3

    %omplete the following trace table for the following algorithm$ gien that the number 3 is the input alue E

    ?ead E

  • 8/21/2019 Questions According to Each Objective on the C (1)

    15/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    8. %opy and complete the trace table below for the following algorithm.E L 8J L 1-&7 L 38:hile -&7 V *8 do

    -&7 L -&7 M J Print J J L J M E

    !ndwhilePrint -&7

    E J -&78 1

    88+

    8(c) :hat is printed by the algorithm.

    @. DIIf 5 VL9 ThenDI!lseDI!ndif Print DI:hat is printed by the algorithm aboe if the input alues are the following(i) + 0 (ii) 1 1 (iii) 8 1

    &nit +=@1. Programs are written with the general purpose of soling problems. Coweer$ it is unli#ely that a

     program will run completely error=free on the first attempt. The process whereby a program is

    chec#ed to ensure that it does what it was designed for is important in the deelopment of the program. There are two main type of errors that can occur; one type of error occurs when the programmer fails to properly thin# through the solution to the problem$ and the other occurs whenthe programmer does not adeuately #now the rules of the programming language. It is good practice to perform a manual trace on the program$ using appropriately selected input alues$which chec#s each segment of the program.

    -tate the proper technical term for !5%C of the underlined phrases labeled 5 to !.

    &nit +=*1. !"plain the relationship between a compiler$ a source program and an obHect program.

    &nit 0=1

    1. 7any cities hae computer controlled traffic lights.(a) -tate two eents which may hae caused a sudden change in the flow of traffic.(b) Cow are details of traffic flow collected(c) Cow can the computer to control the flow of traffic

    +. 'ie one application for which the use of multimedia computer ( a computer with a%D=?O7$ sound and powerful ideo capabilities).

    0. 'ie three features of a camera that contains a microprocessor which ma#es it different to the oneThat does not.

     Page 15 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    16/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    3a. Describe two features of a des#top publishing pac#age that ma#e it more suitable than aword=processing pac#age for producing a school newspaper.

    3b. !"plain how a scanner could help.

    8 5 ban# introduces ban#ing by telephone and machines that allow customers to withdraw cashoutside the ban#.

    (a) 'ie one adantage for ban# wor#ers.(b) 'ie two disadantages for ban# customers.

    *.

  • 8/21/2019 Questions According to Each Objective on the C (1)

    17/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    (b) -tate two alidation chec#s that could be used on the number in stoc#.(c) !ach item code can be read by an optical character reader. !"plain what the order processing

    system should do with the stoc# file each time an item is sold.(d) -tate the type of access needed(e) Once a day the order processing system chec#s its stoc# leels and $ if necessary$ prints orders for

    suppliers. !"plain how the system does this.

    1. 5 school uses data=logging to collect data about temperature$ pressure$ wind speed and direction.(a) Describe the hardware and software needed to collect and display the data.(b) Cow can this data be used to predict the ne"t day2s weather

    11.(a) 5 large store wishes to simulate the ueues and sericing of customers so that it can decidewhether or not to employ e"tra staff. Describe the input$ processing and output of this simulation.

    (d) 'ie two reasons for using simulations.

    1+ 5 hospital uses a database to #eep details of patients.(a) 'ie one hardware method of preenting illegal access.(b) 'ie one software method for preenting illegal access.

    10 5 group of shops is supplied from a central warehouse. !ach shop sends a regular list of stoc#

    reuirements to the warehouse. -taff at the warehouse order goods from a number of differentsuppliers. 'oods are then dispatched from the warehouse to the indiidual shops.

    Describe how a computer might be used at the central warehouse. Four answer should refer to input$output$ processing$ hardware and use of files.

    13a.Identify any T:O Hobs industries and$ for !5%C$ state how the use of the computer has resulted ineither a change of procedures for T:O Hobs or made Hobs obsolete.

    13b.,ame

  • 8/21/2019 Questions According to Each Objective on the C (1)

    18/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    &nit 0=31. 7any wordprocessors can be combined with other software to form integrated pac#ages(a) ,ame one such type of software.(b) Describe how it may be used with a wordprocessor.(c) 'ie two benefits of using an integrated pac#age.

    +. :hat are computer iruses0. -tate two ways in which the Data Protection 5ct can ensure the rights of indiiduals.3. &sually the goernment laws gie people the right to see a copy of their personal data which is

    stored on computer files and hae it changed if it is not correct. !"plain why$ in some countries$ people are not allowed to see the information stored about them on goernment and police files

    8a. 'ie two e"amples of computer crime.8b. 'ie two methods of protecting a system against computer crime.@a. 5n electricity company uses a computer for customer accounts. %ustomers can pay their bills at

    any branch office. !ach office is connected on=line to the main computer and details any oftransaction are immediately recorded.

    Outline the measures which should be ta#en to preent unauthori>ed access to the accounts file.

    @b. The company is to introduce a new system in which payments are transferred electronically from

    customers2 ban# accounts.(i) Discuss the adantaged and disadantages of the new system for the company and for the

    customers.(ii) Outline the main stages in the new system.

    *. 7any countries hae data protection legislation. ?ecommend three rules for the legislation.a. 'ie e"amples of computer crime.b. !"plain how companies can help protect themseles against computer crime.

    . Describe typical hardware configurations which would be needed for the systems indicated below.

  • 8/21/2019 Questions According to Each Objective on the C (1)

    19/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    10a. In order to secure its data$ a company uses the following method for encryption te"t4

    5 letter is replaced by the letter fie letters later in alphabetical order. ations$ data on personnel are stored in a central location from which

    arious departments can access releant information. -tate TC?!! problems that mayarise because of the sharing of this type of data.

    &nit 0=81. -tate one reason why copying a program is considered to be morally wrong.+. ?efer to Auestion 1+a (0=3)

    &nit 0=@1. 5 company wants its sales people to be able to use portable computers in their cars.(a) -uggest two ways that the sales people can use their portable computers to send orders to head

    office.(b) Describe two problems that could occur with this system.(c) Describe the possible social effects on the sales people using such a system.

    +. ,ame three peripheral deices which are used in %omputer 5ided 7anufacturing but which arenot commonly used in an office..

    0. The -tatistic Department holds confidential information on the citi>en of a country. -ince itsdatabases are online and are connected to the telephone company ia a modem$ any person with acomputer and a modem can potentially access from the databases. Outdated data are usually storedat other locations.

    (a) -tate one method which can be used to preent unauthori>ed users from accessing data stored in

    the databases.(b) -tate two methods which can be used to preent users from accessing data from files to which

    they do not hae access.(c) -tate one potential danger that may e"ist when legitimate users within the -tatistic Department

    import data into the department2s computer.(d) -tate two strategies to protect the archied data into the department2s computer.

    &nit 0=*

    1. 5 %ar 7anufacturer manufactures robots. Describe one adantage and one disadantage to themanufacturer.

    +. 'ie two uses of !"pert -ystems.0. 9elow is shown part of a database containing details of students2 e"amination results. The se" of

    each student has been coded as 7 for male and < for female.-urname Initials -tudent ID -e" 7aths -cience

    P5T!6 6 /810+3 7 8@ @3

    '?!'O?F ! /8+80 7 3* 30

  • 8/21/2019 Questions According to Each Objective on the C (1)

    20/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    (a) On the diagram$ mar# and label a fieldname$ record.(b) :hich field could be used as a #ey field(c) Describe the steps you would ta#e to print the details of all the male students in surname order.

    details of female students must not be printed.

    3. some computer systems are designed for medical diagnosis. :hen details of a patient2s symptomsare entered$ the system suggests possible cause of the illness. The medical #nowledge containedin the system is proided by doctors. -uch systems are e"amples of !"pert -ystems.

    (a) -uggests two benefits which are offered by the use of the medical e"pert systems.(b) :hy might some people be worried about the use of computers in this application(c) 'ie another application for an e"pert system..

    8a. Describe one use of an e"pert system.8b. Describe two different ways in which the #nowledge base of the e"pert system could be improed.

    @a. 'ie one way$ other than unemployment$ that the introduction of computers has affected thosewho ma#e cartoon films.

    @b. !"plain how an artist$ without the aid of a computer$ would create a film to show the stic# manwal#ing across the screen and sitting on the chair.

    @c. !"plain how a computer could be used to create a film to show the stic# man wal#ing across thescreen and sitting on the chair.

    *a. :hat is an e"pert system

    *b. ,ame one area in which e"pert systems are used.*c. 'ie one adantage and one disadantage of using an e"pert system in the area named aboe.

    . The increase in the leel of computeri>ation in offices$ together with the decrease in the cost andthe aailability of data communication serices hae created new ways of conducting business.-ome employees now hae an opportunity to perform their wor# from home a process #nown astelecommuting.

    (a) -tate two items of hardware that an employee must hae when she is telecommuting.(b) -tate one adantage to the employee of telecommuting.(c) -tate one disadantage to the employee of telecommuting.

    /. The owner of a large department store in the city center is planning to offer telemar#eting sericesto the general public. %urrently$ his retailing business customers are encouraged to browse the

    store. They are normally offered assistance by the sales cler#. If a customer is satisfied with a particular item$ heshe ta#es it to the cashier where the customer must pay in cash. 5fter thetransaction is completed$ the customer must ta#e away the items purchased.

    (a) -tate two additional serices that the owner should offer so that he could introduce telemar#eting.(b) -tate one change that the owner must ma#e in the operation of his business so that he could

    introduce telemar#eting.(c) -tate one reason why a customer might still choose to isit the store to ma#e a purchase een

    though the customer might hae to trael a long distance to get to the store.

     Page 20 of 23

  • 8/21/2019 Questions According to Each Objective on the C (1)

    21/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    &nit 0=

    1 Telephones can obtain microelectronic components which allow more operations than Hust callinga number. e the functions of its Cuman ?esource (Personnel)

    department. The %omputer Department has been gien the responsibility for completing this tas#.

     ,ame four categories of personnel from the %omputer Department that the %omputer Department7anager must assign to the tas#$ stating clearly one function of each category.

    .

  • 8/21/2019 Questions According to Each Objective on the C (1)

    22/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)

    3. !lectronic funds transfer (!

  • 8/21/2019 Questions According to Each Objective on the C (1)

    23/23

    Prepared by : Mr. O. Duncan (Info. Tech. Teacher)