Science · Paper 1 · 2020
17 questions 🇹🇿 NECTA ✓ MS3-hour timed simulation · auto-graded · counts toward ranking
Pay & start exam →Questions (17)
Section A
(a) Use standard distinctive symbols to outline the main three Boolean operators. (b) Draw a logic gate circuit for the Boolean expression AB'+C'(A+B). (c) Simplify the Boolean expression f= (AB'(A+C))'+A'B (A+B'+C')', use NOR gates only to draw a logic gate circuit of the simplified Boolean expression.
- Use standard distinctive symbols to outline the main three Boolean operators. (0 mk)
- Use standard distinctive symbols to outline the main three Boolean operators. (5 mk)
- Draw a logic gate circuit for the Boolean expression AB'+C'(A+B). (5 mk)
- Draw a logic gate circuit for the Boolean expression AB'+C'(A+B). (0 mk)
- Simplify the Boolean expression f = (AB'(A+C))'+A'B(A+B'+C')'. Use NOR gates only to draw a logic gate circuit of the simplified Boolean expression. (5 mk)
- Simplify the Boolean expression f= (AB'(A+C))'+A'B (A+B'+C')', use NOR gates only to draw a logic gate circuit of the simplified Boolean expression. (0 mk)
Upgrade to see model answers.
(a) Define the term function as applied in programming languages. (b) Outline the roles of user-defined functions. (c) Read the block of code and then: (i) Give the name of the function given. (ii) Give out the number of parameters used in that function. (iii) State if the code will perform the required task or not by giving reasons. (d) With the aid of an example of a code statement, give two similarities and two differences between ‘cin’ and ‘cin.getline’ keywords as applied in programming languages.
- Define the term function as applied in programming languages. (3 mk)
- Define the term function as applied in programming languages. (0 mk)
- Outline the roles of user-defined functions. (0 mk)
- Outline the roles of user-defined functions. (4 mk)
- Read the block of code and then; (i) Give the name of the function given. (ii) Give out the number of parameters used in that function. (iii) State if the code will perform the required task or not by giving reasons. (8 mk)
- Read the block of code and then: (0 mk)
- With the aid of an example of a code statement, give two similarities and two differences between ‘cin’ and ‘cin.getline’ keywords as applied in programming languages. (0 mk)
- With the aid of an example of a code statement, give two similarities and two differences between ‘cin’ and ‘cin.getline’ keywords as applied in programming languages. (5 mk)
Upgrade to see model answers.
(a) Describe the web server. (b) Outline four steps to be followed when creating a website. (c) By using HTML and JavaScript codes, develop an HTML form with one input field named ‘’number’’ and a submit button called ‘’process’’. Check if the value entered in the form is a number and it is greater than 0. If not, alert ‘’Error: Provide a number greater than 0’’. If it is an even number, it alerts ‘’The number provided is divisible by 2’’. Otherwise, it alerts ‘’The number provided is not divisible by 2’’.
- Describe the web server. (4 mk)
- Describe the web server. (0 mk)
- Outline four steps to be followed when creating a website. (0 mk)
- Outline four steps to be followed when creating a website. (6 mk)
- By using HTML and JavaScript codes, develop an HTML form with one input field named ‘’number’’ and a submit button called ‘’process’’. Check if the value entered in the form is a number and it is greater than 0. If not, alert ‘’Error: Provide a number greater than 0’’. If it is an even number, it alerts ‘’The number provided is divisible by 2’’. Otherwise, it alerts ‘’The number provided is not divisible by 2’’. (0 mk)
- By using HTML and JavaScript codes, develop an HTML form with one input field named ‘number’ and a submit button called ‘process’. Check if the value entered in the form is a number and it is greater than 0. If not, alert ‘Error: Provide a number greater than 0’. If it is an even number, it alerts ‘The number provided is divisible by 2’. Otherwise, it alerts ‘The number provided is not divisible by 2’. (5 mk)
Upgrade to see model answers.
(a) Explain four elements of information systems. (b) Explain the meaning of relational database query. (c) Use the following entity set with its attributes to answer the questions: (i) Represent the entity set into its equivalent relation table. (ii) Write an SQL query to create a students database table. (iii) Write an SQL insert statement to add data into the students table. (iv) Write an SQL query required to retrieve data from the students table.
- Explain four elements of information systems. (8 mk)
- Explain four elements of information systems. (0 mk)
- Explain the meaning of relational database query. (0 mk)
- Explain the meaning of relational database query. (4 mk)
- Use the following entity set with its attributes to answer the questions. (8 mk)
- Use the following entity set with its attributes to answer the questions: (0 mk)
Upgrade to see model answers.
a) Explain three purposes of procedures in Visual Basic programs. b) Mention four control structures supported by visual basic. c) Explain why is it necessary to choose Standard.Exe file command from the file menu when creating a Visual Basic project. d) Write a VB program to display current date and time in a Form while showing the number of procedures used.
- Explain three purposes of procedures in Visual Basic programs. (0 mk)
- Explain three purposes of procedures in Visual Basic programs. (0 mk)
- Mention four control structures supported by visual basic. (0 mk)
- Mention four control structures supported by Visual Basic. (0 mk)
- Explain why it is necessary to choose the Standard.Exe file command from the File menu when creating a Visual Basic project. (0 mk)
- Explain why is it necessary to choose Standard.Exe file command from the file menu when creating a Visual Basic project. (0 mk)
- Write a VB program to display current date and time in a Form while showing the number of procedures used. (0 mk)
- Write a VB program to display the current date and time in a Form while showing the number of procedures used. (0 mk)
Upgrade to see model answers.
a) Differentiate piracy from privacy terms as applied in data security. b) List two ways of reducing piracy. c) Explain two control measures used to enforce data and information security against an unauthorized access. d) List four points addressed by the use of copyright laws over hardware and software protection.
- Differentiate piracy from privacy terms as applied in data security. (0 mk)
- Differentiate piracy from privacy terms as applied in data security. (0 mk)
- List two ways of reducing piracy. (0 mk)
- List two ways of reducing piracy. (0 mk)
- Explain two control measures used to enforce data and information security against an unauthorized access. (0 mk)
- Explain two control measures used to enforce data and information security against unauthorized access. (0 mk)
- List four points addressed by the use of copyright laws over hardware and software protection. (0 mk)
- List four points addressed by the use of copyright laws over hardware and software protection. (0 mk)
Upgrade to see model answers.
a) Explain four common features of Graphical User Interface (GUI) available in Microsoft word. b) Differentiate SUM from SUMIF functions as used in Microsoft excel. c) Write the syntax of SUM and SUMIF functions. d) write the functions required to find the total amount from north region of the given sales table.
- Explain four common features of Graphical User Interface (GUI) available in Microsoft Word. (0 mk)
- Explain four common features of Graphical User Interface (GUI) available in Microsoft word. (0 mk)
- Differentiate SUM from SUMIF functions as used in Microsoft excel. (0 mk)
- Differentiate SUM from SUMIF functions as used in Microsoft Excel. (0 mk)
- Write the syntax of SUM and SUMIF functions. (0 mk)
- Write the syntax of SUM and SUMIF functions. (0 mk)
- write the functions required to find the total amount from north region of the given sales table. (0 mk)
Upgrade to see model answers.
Section B
Draw a flowchart and write C++ program that reads a given set of integers and then prints the number of odd and even integers. The program should also generate the number of zeros.
- Draw a flowchart and write C++ program that reads a given set of integers and then prints the number of odd and even integers. The program should also generate the number of zeros. (0 mk)
Upgrade to see model answers.
Describe three classifications of data transmission media in the guided and unguided media.
- Describe three classifications of data transmission media in the guided and unguided media. (0 mk)
Upgrade to see model answers.
Explain how Information and Communication Technology has brought about different career opportunities to most of Tanzanians by referring to at least six career opportunities.
- Explain how Information and Communication Technology has brought about different career opportunities to most of Tanzanians by referring to at least six career opportunities. (0 mk)
Upgrade to see model answers.