Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
40 views5 pages

Programming Practices Exam 2018

The document is an exam paper from Aptech Computer Education, dated April 5, 2018, containing 17 questions related to programming practices and techniques. Each question has a specified mark and difficulty level, covering topics such as programming constructs, data flow diagrams, and software types. The exam assesses knowledge on various programming concepts and problem-solving skills.

Uploaded by

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

Programming Practices Exam 2018

The document is an exam paper from Aptech Computer Education, dated April 5, 2018, containing 17 questions related to programming practices and techniques. Each question has a specified mark and difficulty level, covering topics such as programming constructs, data flow diagrams, and software types. The exam assesses knowledge on various programming concepts and problem-solving skills.

Uploaded by

yolithrones
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Aptech Computer Education Exam Exam Code:582641 Date:4/5/2018

No Of Questions:17
7044 Programming Practices and Techniques-T2-A353 No Of Questions:17 Total
Marks:20.00
1. Which of the following tools shows the hierarchy of various modules of a program? (Mark is 1.00 -
Difficulty is 2)

Decision tables

Data Flow Diagrams

HIPO Charts

Structure Charts

2. Which of the following is the truth table that specifies the actions to be taken when certain conditions
arise? (Mark is 1.00 - Difficulty is 2)

Decision Table

Hash Table

Decision Tree

Hash function

3. ____________ is a diagram that shows a broad overview of the data flow and sequence of operations
in a system. (Mark is 1.00 - Difficulty is 2)

Data Flowchart

Document Flowchart

System Flowchart

Program Flowchart

4. Modules are focused upon in _______________________. (Mark is 1.00 - Difficulty is 2)

Structured Programming

Object-oriented Programming

Aspect-oriented Programming
Language-based Programming

5. Which type of software represents the OS and utility programs? (Mark is 1.00 - Difficulty is 2)

Generic Software

Application Software

System Software

Utility Software

6. Flowcharts and Pseudocodes are two types of ____________. (Mark is 1.00 - Difficulty is 2)

Programming

Languages

Algorithms

Codings

7. Which of the following is the correct syntax for the FOR loop? (Mark is 1.00 - Difficulty is 2)

FOR counterVariable IN RANGE startValue to endValue [STEP value]

FOR counterVariable IN RANGE endValue to startValue [STEP value]

FOR counterVariable IN RANGE startValue to endValue [Value]

FOR Variablecounter IN RANGE startValue to endValue [STEP value]

8. A ____________ is a table composed of rows and columns, separated into four separate quadrants.
(Mark is 1.00 - Difficulty is 2)

Flowchart

Pseudocode

Decision Table

Decision Tree
9. _________ divides the lists into two sub lists, and then sorts the sub lists. (Mark is 1.00 - Difficulty is
2)

Sort quick

Quick sort

Sort view

Quick break

10. In a computer program, a __________ occurs when there is a change in the value of a single key on
which a file is sorted for some added processing. (Mark is 1.00 - Difficulty is 2)

Control break

Iteration

Encryption

Integration

11. ____________ compare two or more values or expressions and always return either ?True? or ?
False?. (Mark is 1.00 - Difficulty is 2)

Arithmetic operators

Relational operators

Logical operators

Precedence operators

12. ____________________ list the available inputs, required outputs, and the other rules to be followed
to get the required output from the given inputs. (Mark is 1.00 - Difficulty is 2)

Program specifications

Local solution

Program solution

Local specifications
13. Which of the following construct is used when a variable is to be successively compared against
different values? (Mark is 1.00 - Difficulty is 2)

IF?ELSE

Nested IF?ELSE

DO CASE?END CASE

AND

14. ____________ are used to make multiway selections in programming. (Mark is 1.50 - Difficulty is 3)

IF?THEN

CASE?ENDCASE

GO TO

ALL

15. Which approach should be followed while drawing a data flow diagram? (Mark is 1.50 - Difficulty is
3)

Start from bottom-up approach

Start with diagram 0 followed by context diagram

Start with high-level moving towards lower-level diagrams

Start with most important and then least required diagrams

16. Arrange the following steps in order to read records from an employee file using a pseudocode. (Mark
is 2.00 - Difficulty is 4)
1. DO
2. DO READ-RECORD;
3. READ FILE INTO E_NO, E_NAME, DEPT, GRADE;
4. IF EOF OF FILE THEN
5. OPEN FILE FOR INPUT
6. ENDIF;
7. RETURN;
8. STOP;
9. READ-RECORD
10. WHILE NOT EOF
11. EOF ? True;
12. START;
13. PRINT E_NO, ENAME, DEPT;
14. ENDDO;
12, 5, 10, 2, 1, 13, 14, 2, 9, 3, 4, 11, 7, 6, 8

12, 5, 2, 10, 1, 13, 2, 14, 8, 9, 3, 4, 11, 6, 7

12, 5, 10, 2, 1, 13, 2, 14, 9, 3, 4, 11, 6, 7, 8

12, 5, 10, 2, 8, 13, 2, 14,1, 9, 3, 4, 11, 6, 7

17. A program has been written with the intention to multiply a variable with another variable, whereas
the actual statement written in the program divides two variables. Which of the following is the possible
result of the program? (Mark is 2.00 - Difficulty is 4)

Syntax error

Logical error

Runtime error

No error, correct result

You might also like