Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

DBIT

Puntuación
-
Vendido
-
Páginas
2
Grado
A
Subido en
11-10-2022
Escrito en
2022/2023

1. Distinguish two differences between high-level languages and low-level languages. (4 marks) 2. Explain the following types of feasibility study. (6 marks) i. Technical feasibility study. ii. Economic feasibility study. iii. Legal feasibility study. 3. Explain two types of documentation as used in programming concepts. (4 marks) 4. Explain the following structure of program based on their function. (4 marks) i. #includestdio.h ii. Main () 5. Discuss two difference between printf() and scanf() functions. (4 marks) 6. Explain the following terms as used in programing; (6 marks) i. Variable. ii. Global variable. iii. Local variable. iv. Data type. v. Literals. vi. Constant. 7. Define the term structured programming. (2 marks) SECTION B QUESTION TWO (20 MARKS) 1. Highlight two differences between top-down and bottom-up design approach. (4 marks) 2. State and explain three advantages of modular approach. (6 marks) 3. Outline four functions of a compiler in a c program. (4 marks) 4. Write a C program that would prompt a user to enter the number of acres of land to be bought. If the number is greater than five, the price per acre is KSH. 1.0 million else the price is KSH. 1.2 million. The program then computes and displays the total cost of the land purchased. (6 marks

Mostrar más Leer menos
Institución
Grado

Vista previa del contenido

SECTION A: COMPULSORY
QUESTION ONE (30 MARKS)
1. Distinguish two differences between high-level languages and low-level languages. (4 marks)
2. Explain the following types of feasibility study. (6 marks)
i. Technical feasibility study.
ii. Economic feasibility study.
iii. Legal feasibility study.
3. Explain two types of documentation as used in programming concepts. (4 marks)
4. Explain the following structure of program based on their function. (4 marks)
i. #include<stdio.h>
ii. Main ()
5. Discuss two difference between printf() and scanf() functions. (4 marks)
6. Explain the following terms as used in programing; (6 marks)
i. Variable.
ii. Global variable.
iii. Local variable.
iv. Data type.
v. Literals.
vi. Constant.
7. Define the term structured programming. (2 marks)




SECTION B
QUESTION TWO (20 MARKS)
1. Highlight two differences between top-down and bottom-up design approach. (4 marks)
2. State and explain three advantages of modular approach. (6
marks)
3. Outline four functions of a compiler in a c program. (4 marks)
4. Write a C program that would prompt a user to enter the number of acres of land to be bought. If
the number is greater than five, the price per acre is KSH. 1.0 million else the price is KSH. 1.2
million. The program then computes and displays the total cost of the land purchased. (6 marks)
QUESTION THREE (20 MARKS)
1. Anderson is developing a program for his client. Explain three methods that he would use to
detect errors in the program. (6 marks)
2. State two sorting methods that use the swapping techniques. (2 marks)
3. With the aid of a diagram in each case, distinguish between a stack and a queue as used in
programming. (6 marks)

Escuela, estudio y materia

Grado

Información del documento

Subido en
11 de octubre de 2022
Número de páginas
2
Escrito en
2022/2023
Tipo
Examen
Contiene
Respuestas

Temas

$13.59
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
mamacittah

Conoce al vendedor

Seller avatar
mamacittah PSYCHOLOGY
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
3
Miembro desde
3 año
Número de seguidores
2
Documentos
21
Última venta
1 año hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes