You are on page 1of 9

SMK DATO ABDUL RAHMAN YAKUB 77300 MERLIMAU, MELAKA

UJIAN SELARAS 2 2011


INFORMATION & COMMUNICATION TECHNOLOGY TINGKATAN 5 1 JAM

JANGAN BUKA KERTAS SOALAN INI SEHINGGA DIBERITAHU Jawab semua soalan dalam lembaran jawapan yang disediakan. Bahagian A B C Jumlah Kertas ini mengandungi 8 halaman bercetak termasuk muka hadapan. Disediakan oleh _______________________ ____________________________ (PN. ZALEHA BT HAMIT) Guru Mata Pelajaran Disahkan oleh Disemakkan oleh Markah 20 20 10 50

(PN. MAIHASRA BT. SAHRAN) Ketua Panitia ICT

_______________________________ (PN. SITI SALWAH BT. AB. AZIZ) GKPM Teknik &Vokasional

SECTION A (20 marks) Instruction: Circle the correct answer. 1.______________ is a set of commands or instructions which directs a computer in doing a task. A. Program B. Language C. Programmer D. Programming Language 2. The commands or instructions of C language programming were written in _______________ language. A. Tamil B. Malay C. English D. Mandarin 3. Human communicates with computer using __________________ language. A. sign B. English C. Machine D. Programming 4. The commands or instructions of a program will be ______________ before executing. A. running B. transfer C. compiled D. changing 5. Programming language is a language used to _________________ computer programs. A. draw B. write C. read D. listen 6. Programming language is a set of _____________ that enable human to communicate with computer. I. codes II. words III. symbols A. I B. II C. I and II D. All the above

7. _________________is one of the programming languages. A. Greek B. France C. PASCAL D. Swedish 8. This is the source code. A. BASICs B. PASCALs C. FORTRANs D. C Languages 9. This is the source code. A. BASICs B. PASCALs C. FORTRANs D. C Languages 10. Each programming language has its own _______________for writing the commands and/ or instructions. I. rules II. signal III. standard IV. language A. I and II B. I and III C. II and III D. II, III and IV 11. Machine language is the _________________________. A. natural language B. low-level programming language C. high-level programming language D. very high-level programming language 12. Assembly language is the _________________ generation programming language. A. first B. third C. fourth D. second 13. ______________language programmers write instructions using mnemonic instruction codes. A. Natural B. Machine C. Assembly D. Procedural

14. _______________ is an example of high-level programming language. A. PASCAL B. Machine language C. Artificial Intelligent D. Assembly language 15. ______________ programming language is usually limited to a very specific application that might use syntax which is never used in other programming languages. A. Natural B. Low-level C. High-level D. Very high-level 16. ______________ programming allows people to interact with computers without needing any specialized knowledge. A. First B. Fifth C. Third D. Second 17. ____________ is an example of a fourth generation programming language. A. Basic B. COBOL C. Intellect D. FORTRAN 18. Programs written in a ________________ programming language must be translated into machine language by a compiler or interpreter. A. natural B. low-level C. high-level D. very high-level 19. The __________________ programming language provides a visual or graphical interface for creating source code. A. natural B. low-level C. high-level D. very high-level 20. ______________ is an example of fifth generation programming languages. A. C++ B. Prolog C. Visual Basic D. Query Language

SECTION B (20 marks) Instruction : State whether the statements given is True or False. Write T for True or F for False on the Answer Sheet provided.(10 marks) 1 2 3 4 5 6 7 8 9 10 STATEMENT The first-generation programming language, or 1GL, is machine language. The second -generation programming language, or 2GL, is assembly language. Query Language is a third -generation programming language. A high-level programming language is often referred to as goal-oriented programming language. Fifth-generation programming language also called natural language. A low-level programming language is a programming language that provides little or no abstraction from computers microprocessor. An assembler is a program that translates assembly language into machine language SQL, NOMAD and FOCUS are examples of fifth generation programming languages. The Open Programming Language (OPL) is an embedded programming language found in portable devices that run the Symbian Operating System. The object-oriented approach refers to a special type of programming approach that combines data with functions to create objects. TRUE FALSE

Fill in the blanks (10 marks)


11. A ______________ is a set of instructions that tells the computer how to perform a specific task. 12. People who write codes to create programs are known as computer ___________ 13. Using bits and bytes in different combinations to represent a code is known as ____________ 14. State the two types of programming approaches. a. _________________ b. _________________ 15. List three examples of third generation programming language.

c. __________________ d. __________________ e. __________________ 16. Object -oriented programming approach refers to a special type of programming approach that combines data with ________________ to create objects. 17. Structured programming frequently employs a ________________ design model. SECTION C (10 marks) Question 1

High-level Programming Languages

A
a) Name A and B.

Fifth Generation

Based on Diagram 1, answer the following questions.

A : ______________________________________________ B : ______________________________________________ b) Give an example of programming language for A and B. A : __________________________________________ B : __________________________________________ [2 marks] [2 marks]

Question 2 There are two types of programming approaches. a) State two types of programming approaches. i. ii. ____________________________ ____________________________ [2 marks] b) i. Give each definition based on answer (a). _______________________________________________ _____________ ___________________________________________________________ _ ii. _______________________________________________ _____________ ___________________________________________________________ _ [4 marks] Answers Sheet Question No. 1 2 3 4 5 6 7 8 9 10 11 Section A (20 marks) Candidates answer Marks

12 13 14 15 16 17 18 19 20 Section B (20 marks) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Section C (10 marks) Question 1 a(i) a(ii) b(i) b(ii) a(i) a(ii) b(i) b(ii)

Question 2