0% found this document useful (0 votes)
19 views8 pages

2011 Part 1 English

english

Uploaded by

writerathvika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
19 views8 pages

2011 Part 1 English

english

Uploaded by

writerathvika
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
209 OOM nA | srstmayming [Al igh Revered] 25. Ion peenge @ rm og sana AGERE. oo comoontan 8 ow oe rane) | Bese, Pie deaent. Sega ee Bomar Fcc’ eI == Se ee tee ae = == | = Satis Sarg 5 soap —epsr euler ules — = General-Certificate-of-Edueation- (Adv. Level)- Examination;-August aaxdancs adselen ndeme 1 ry Qs guns Oe; alu sd | fae ete ames, Spr dapcutes 1|(20)(B)[I Instructions: ae %% Answer all the questions. 7 %% Write your Index Number in the space provided in the answer sheet. % Use of calculators is not allowed. « * Se een Drei G wens Burr evai zai Two hours Instructions are given on the back of the answer sheet, Follow those carefully, In each of the questions 1 0 50, pick one of the alternatives from (1), (2). (3). (4. (5) which is correct or most appropriate and mark your response with a cross (%) in accordance With the instructions given on the back of the answer sheet. 1, Who invented the Analytical Engine? (1) Bleise Pascal (2) Charles Babbage @) John Von Neumann @) John V. Atanasoft (5) John Presper Ecker 2, Which of the following technologies is used in the Second Generation Computers? (Q) Integrated Circuits (ICs) (2)__Large Scele Integration (LS, G) Microprocessors (4) Transistors (S) Vaccum tubes | 3. Answer sheet of a multiple choice question paper can be read with (Digitizer, (2) Light pen. @ MICR (4) Scanner (POS terminal, | 4. Computerized medical imaging systems which use echoes of transmitted pulses are called | (1) CAT scans. (2) CT scans. (3) PETT scans | (4) Ultrasound scans (5) X-ray images. 5. ‘The binary number equivalent 0 the 27jy is (1) ooottt (2) 111000 @) ouloi @ 101011 () 11010 6, The abbreviation GSM stands for (1) Global System for Mobile Access. 2) Global System for Mobile Communication @) Global System for Mobile Phone. () Global System for Mobile Transmission. (5) Global System for Mobile Interconnection. 7. Which of the following database types is widely used in computer applications? (1) Flat file (2) Hierarchical —@) Network (4) Relational (5) Object oriented 8. ‘The main role of a “router” in computer network is @) to broadcast data packets to all hosts in the network. 2) to monitor the network for malicious activites. (3) to retransmit the received signal at a higher power. () 10 allow hosts in two networks to communicate () ‘to allow load balancing between multiple separate networks 9. A command that can be used to check network connectivity to a computer is | (1) ipconfig @ ping @ tmeeroute (4) netstat (3) hostname 10. Which of the following best describes the order of the testing conducted in the software development process?| (Q) Acceptance testing, integrated testing, unit testing | 2) Integrated testing, acceptance testing, unit testing. ) Integrated testing, unit testing, acceptance testing. |G) Unit testing, acceptance testing, integrated testing. (5) Unit testing, integrated testing, acceptance testing. [see am wo. ALONE 11. Which of the following is a classification of systems? (1). Close and hybrid 2) Natural and structured (3). Openvand close (4) Open and structured () Structured and hybrid 12, A banking system could be best considered es a/an (1) embedded system. (2) enterprise resource planning system. (3) -expert system. () Knowledge management system (5) transaction processing system. 13. Which of the following best describes the home page of a website? (1) The index of the website ‘et (2) The welcome page G) A description of the website (4) The first page of the website (5) A web page that presents short joumat entries 14. A manager of an engineering manufacturing company is considering whether to recruit more people in the near future. What is the most relevant information in this case he has to consider? (D) Personnel records of all the employees 2) Previous reports of all the recnited people G) The attendance sheets of all the employees () Detailed reports of engineering specificaions and manufacturing orders (5) Summary reports of present and projected personnel requirements 15. ClA, + 442, 5923, @ FBC, @) FBB, @) oBC,, (5) 10BC,, 16. What is the main function of a DACP serves? (1) Allocating IP addresses, (2) Resolving domain names from IP addresses. G) Providing directory services to users, (4) Sharing an Intemet connection among users. (5) Protecting a computer network from virus attacks 17. Consider the IP address 192.248.87.3 and the subnet mssk 255.255.255.224. How many hosts can be directy| connected to this network? a) 16 © @ 4 @) 30 4) (9) 128 18. What is the most suitable media to transmit a high definition video over a distance of 5 km? (1) Radio waves (2) Twisted pair copper cables (3) Fibre optics cables (4) Coaxial cables (5) Open wire cables 19. The transport layer of the OSI reference model provides (1) error correction. (2) routing of data packets. G) flow control. (4) process-to-process communication. (3) error detection. 120. Which of the following Python program segment is syntactically comect? Q) total = 0 @) total for i in range (1, 12): for i in range (1, 12): total = total +i total = total +i @) total=0 @ total = 0 for i in range (1, 12 for i in range (1, 12) total = total +i total = total +4 (8) total = 0 for i in range (1,12): total = total + i T see page three 24, las. ja. 123. 23+ AL201/208-4 Consider the given flow chart Gaaer) Which of the following statements about the algorithm : represented by the flow chart is incorrect? Taxes (It stops when the user enters the value 1. @) It stops when the user enters the value 5. ) Tt gives the message “You are very close.” when the user enters the value 9, (4) It gives the message “You are very close.” when the user enters the value 6. (5) If the value entered by the user is 8, it allows the user 10 enter another value. Which of the following statements best describes the result of hard disk ‘fragmentation’? () Hard disk data access speed is reduced. (2) Network access speed becomes slow, G) Hard disk becomes totally inaccessible, (4) Some deta will get erased from the hard disk, (5) Number of bad sectors get increased Consider the following statements about computerized databases : A ~ Need more human resources to manage the computerized databese than a manual system, B - Retrieval of data is efficient than a manval system. C = No data duplications D - Need more space to store data than a manual system. Which of the above statements are correct with respect to 2 properly designed database? () A and B only. Q) A and D only. @) B and C only. @ Band D only. (S) C and D only. Consider the following system description and the relations A, B, C and D given below to answer the questions 24, 25 and 26. ‘A principal of a National school wants to develop a database to maintsin Admission Number, Student Name, Address, National Identity Card number (NIC) and the Date of Birth (DOB) of Advanced Level stadens, The Principal also wants to know the marks obtained for each subject by the students. In addition to the above ‘requirements, the principal needs to know the subjects assigned to the teachers. Relations A ~ Student(admissionNo, studentName, address, DOB, NIC) B - SubjectsutjectCode, subjectName) C - Mark(admissionNo, subjectCode, marksObtained) D - Teacher(teschetNo, subjectCode, teacherName, subjectNme, class) Which of the above relations are in the third normal form? () A and C only. 2) A and D only, G) A, B and C only, (@) A, C and D only, (5) B,C and D only. Which of the following combinations ‘of attibutes provides the minimal set of primary keys for the relations Student, Subject and Mark respectively? (Q) agmissionNo and NIC, subjectCode, sdmissionNo, Q) NIC, subjectCode, subjectCode. 3) admissionNo, subjectCode, subjectCode. (4) acmissionNo, subjec:Code, admissionNo and subjectCode, (5)_admissionNo, subjectName, admissionNo and subjectCo¢e. eae AL2011/20/8-1 {26. Which of the following SQL statements would produce an output with admis subject code and marks obtained? (1) SELECT studentNName, subjectCode, marksObtained FROM Student, Mark : WHERE, Suudent.admissionNo = Mark.admissionNNo (2) SELECT StudentadmissionNo, studentName, subjectCode, StudentmarlsObuiined FROM Student, Mark WHERE Student.admissionNo = Mark.admissionNo 3) SELECT Student atmissionNo, studentName, subjectCode, marksObtained FROM Suident, Mark WHERE Student.aimissionNo = Mark.admissionNo (4) SELECT Student.admissionNo, studentName, sufftctCode, marksOdtained FROM Student, Mark WHERE Student aimissionNo =admissionNo (S) SELECT StudentadmissionNo, studentName, subjectCode, marksObtained ‘ FROM Student, Mark WHERE admissionNo = Mark.admissionNo 27. Which of the following would be the result if the Boolean expression F( x,y) =| =(* +y)(F43) is simplitie| by using De Morgan's Law? Mr @y @) 0 @. O xy 128, Which of the following Boolean expressions represen the given logic circuit? a (4+8)+(B+0) @ (A+a)+(ac) ae — @ (4*8)+(as0) @ (48)+(20) =p © (442) +(2¢) E— [23. Consider the following propertis: ‘A= Density B + Capscity C > Seeuity D- Cost E - Access time Whien of the above ate being used as the main properies to claslfy differen types of memory? (1) B and D only. (2) A, B and C only. (3) B, D and E only. (4) A, B, C and D only. (3) A, B, D and E only. 130, Consider the following memory types: ‘A ~ Read Only Memory Secondary storage Cache memory ~ Flash memory Random Access Memory Which of the above can be conside-ed as Volatile Memories? (1) A and B only. @) Aand C only. @) Cand D only (4) C and E only. ©) D and E only 31. Consider the following statements: ‘A ~ Customer can obtain the services while he/she is at hisher home or office. B - Payments can be made without using currency notes. - Customer is open to a large international service provider base. D - Service provider is open to a larger international customer base. E - Security of payments are always guaranteed, Which of the above are advantages in e-commerce compared to traditional commerce? () A,B and C only. (@) A,B and D only, @ A, C and D only. (4)_A, B, C and D only. (5)_B, C, D and E only. mo I see page five se AL/201/20-1 132. Consider the following statements with respect to on-line services: A ~ Customer should have access to on-line services. B - Customer should possess an ciectronic mechanism to make payments. C - At the time of placing the order for an item, the identify of the customér should be established, D.- Service provider should provide on-line services. E = Both the customer and the service provider should be in the same geographical region. Which of the above items are esseatial in on-line ordering? () A and B only. @) A,B and C only. (@) A.B and D only. @) ALC, D and E only. ©) B, D and E only, 133. Consider the following staiemeats : a] ‘A. ~ Reading time from memory (Iatency) was assumed to be negligible B Utilization of a hierarchical memory structure. C - Inability to foresee the limitation of the processor clock frequency. Which of the above prevented the technological advancement beyond the Von Neumann architecture? (1) A only. @) B only, @) C only. (4) A and B only. ©) A and C only, '34. Consider the following computer applications: ‘A. ~ Guiding Tourists based on their current location. B - Customization of automobiles. C - Advertising via Internet. D - Customization of domestic environments Which of the above epplications are most favourably benefited from ubiquitous computing? (Q) A and B only. @) 3 and C only. @) A,B and C only. (4) A, B and D only, ©) 3, C and D only. '35.-Consider the following items: A = Object oriented B - Rapid Application Development € ~ Spicat D ~ Structured E - Waterfall are system development methodologies”. Which of the above are most appropriate respectively to fill the blanks in the above statement? Q) A,B and C only. @) A, C and D only. @) B,C and D only. (4) B,C and E only, 6) -B, D and E only, 136. Consider the following statements about the Intemet: A. The Intemet is a global network of neoworks, B - People and organizations who are connected to the Internet can access its massive store of shared information, € ~ WSC is in charge of the Intemet. D - Data can be downlosded only with File Transfer Protocol (FTP), E - Anybody can publish information or create new services on the Internet. Which of the above statements are correct? (1) A,B and D only. () A, B and E only. G) A. D and E only. (4) B,C and D only, (5) B,C and E only, 137. Consider the following Python dats items: A - 152 B = [12, ‘be, 52) © - (name: ‘Nimal, ‘age’ : 18) Python data types of the above data items A, B, C are respectively (1) float, list, dictionary, @) integer, tuple, dictionary. (3) float, list, tuple, (4) integer, tuple, list. (6) float tuple, dictionary. [see page six ALMONAUEL 38, Select the comect layout corresponding to the following code segment
    : é | -
  • Fenits f
      cli>Mango I | <e/al> i slip Vegeisblesehi> ee «fo Fruits | @l © Ents 1 @{ 0 Fruits ] © Mango © Mango 2 Mango | © Gira amba = Gira ambe © Gira amba 9 Dampara a Dampara © Dalnpara 2. Pineapple Pineapple |} Pineappte | 2 Vegetables | © Vegetables Lo Vegetabies | wo Frits 1 dle Rus | eo Mango | 9 Mango © Gira amba | 0 Gira amba | © Dampara 2 Dampara | © Pineapple > Pineapple 0 Vegetables 2 Vegetables 39. Consider the following items: A - rio B - textarea C - select D = checkbox E - textbox Which of the above can go as atttibutes of an input element in a form? @) A.B and C only. @ A,B and D only. G) A. D and & only. @) B.C and D only. (5) B, D and E only, 40. What is the correct syntax to be used to insert a JavaScript into an HTML page? (1D) (2) @) (3). 41, Consider the following XML. scripts: [A | am version LOS 1 B -/ Gl versions LO students> | sShashi Dias sShashi Diase/name> cage l8clage> | -A25849 | teqNo>A25849.ctegNo> | students i istudenis> } | | © +f tam vesion 10" Shashi,Dias - i8c/age> name age=i8>Shashi Diase/name> Fo] srogNo>A258¢9c/regNo> sA25849 A istudents> ini | Which of the above scripts are syntactically comect? (1) A and B only. @) A and C only, (3) A and D only. (4) B and C only. (S) C and D only. [see page seven AL/201/20/0-1 = 2 142. Consider the following statements about operating sytems ‘A ~ Ubuntu is an open source operating system: 5 | |B ~ Windows XP is a proprietary operating system, |G ~ Linux is a proprietary operating system. Which of the above statements is/are correct? (1) A Only @) B Only. @ C Only, (4) A and B Only, (5) A and C Only. |43. Consider the following statements with respect to ER diagrams: A - An ER diagram has entities and relationships. “* B - Candinality of all relationships should always be one-to-one. C ~ Entities may have attributes. D ~ There could be binary and tertiary relationships . Which of the above statements are correct? (1) “A and D only. (2) B and C only. (3) B and D only, (4) A, C and D only. ©) B,C and D only. [44. Consider the following statements about language translators: A Interpreters convert the entire source program into object program at once. B Compilers convert the entire source program into abject program at once. C - Programs written in high level languages do not used language translators to execute on a typical ‘computer. Which of the above statements is/are comect? (A only. @) B only, @) C only. (@) A and B only. (5) Band C only. |45. Consider the following statements about programming languages: ‘A = C programming language is a first-generation language (GL) B - Assembly language is a second-generation language (2GL), CC - Python is a second-generation language (2GL). Which of the above statements isle comet? () A only. Q) B only. @) C only. (A and B only, ©) B and C only. 146. Consider the following statements in a. program: A ~ ff This is a comment B - ff This is a comment. C - This is a comment. */ D - al # This is a comment. E - # Initial value of a=i Which of the above are syntactically correct Python statements? (A and D only. @) C and E only. @) A, D and B only. @ B,C and D only. () ©, D and E only, 147. Consider the following assignment statements: A - a= Nimal's address! B - a= "Nimal's address" C- abenl D+ ab.c=1, 2, ‘sring’ E-a=b=1 Which of the above are syntactically correct Python statements? (“A and C only. 2) B and D only. @) A, C and E only. @) B,D and E only. (5) C, D and E only. [ see page eight AL/2011/26/8-1 \48. Consider the following incomplete Python program: datas [5, 1, 23, 10] | Gatacount = len (data) | for 4 in range(datacount = 1 | for k in range (i, datacount): temp=datalil data[il data {kJ =datatk), temp for i in range(datacount): a print (datalil) Which of the following Python statements should be included at the blank line 20 pr | data structure named “data” in the ascending order, . (1) if datatiy < datatky = (2) if davai) > datapa) : @) if datafiy = datapes : |G) if datafi] < datafk) (5) if datafi] > datafk} 149, Consider the following Python program: data = [5, 1, 23, 10, -31 def fun(a) i, ¢=4, (0) while i ¢) nt the dats items in the ieie. return ¢ print (fun{data)) Which of the following is the output of this program? a3 @1 @s @ 10 () 25 ‘50. Consider the following Python program: £1 = open{*input.txt','c'} | £2 = open{‘output.txt', ‘w'} line = f1.readline() | while (1ine) | data = (line.strip()}.split(".") total = fleat(data{1l) + float{data(2}) f2.write('(),{),(},{}\n". format (data [0] ,data{1],data[2] ,total)} line = £1.readline(} fl.close() £2.close[) ‘The content of the file “input.txt” is given below. Nima, 30,60 Saman, 20,45 ‘Upali,100, 80 ‘After executing the program what would be the content of the file “output.txt”? @) Nimat Q) Nimat,30,60 @) Nimal,30, 60,90 Saman Saman, 80,45 Saman,80,45,125 Upali Upali,100, 80 Upali, 100,860,180 4): imal, 30, 60,90:0 (3) Nimal, 30,60, 90.0 Saman, #0, 45, 125.0 Upali,100, 80, 120.9] Seman, 80,45,125.0 Upali,100,80,180.0 ORR

You might also like