Você está na página 1de 6

High School

Assessment
Instructions:
Download the paper and solve it. You can solve it online or get a printout and solve on
that.
Paper will not be available after 9pm(7-1-2015)
Paper can be submitted by email, by post or handed over to gate keeper enclosed in an
envelope with students name, admission number, class and subjects written on it.
Deadline to handover the papers: 12-01-2015
For email: sumera@stanthonysft.edu.pk
----------------------------------------------------------------------------------------------------------------

PART A
Time allowed: 20 min

MCQs
1:A language that is closed to human language is called
(a) High level language

(b) Super level language

(c) Low level language

(d) Upper level language

(22)

2: A program is a specific set of ordered


(a) Instructions

(b) Operations

(c) Values

(d) Tasks

3: ________ is the result which is obtained by processing the input data.


(a) Input

(b) Output

(c) Algorithm

(d) Process

4: The statement of Problem in computer programming shows:


(a) Given and Required information

(b) Procedure to solve

(c) Flowchart

(d) Programming Techniques

5: The Basic commands of GW BASIC programming is


(a) RUN and LOAD

(b) PRINT and LOAD

(c) DATA and SAVE

(d) INPUT and READ

6: The statement that use to put some condition in program is called


(a) Save statement
(c) List statement
7: The Flow chart helps in

(b) Input Statement


(d) If then else statement

(a) Solving keyboard errors


(c) Testing errors

(b) Typing errors


(d) Debugging errors

8: To show the list of program, we use


(a) Save Statement
Input Statement

(b) List Statement


(d) If then else statement

9: The expression x>=y is


(a) Logical

(b) Arithmetic

(c) Relational

(d) Assignment

10: The set of rules that define the combination of symbols used by
Programming languages is called______________
(a) Syntax

(b) Data

(c) Program

(d) Logical

11: The symbol is

used as

(a) Input data

(b) Processing

(c) Decision

(d) None of these

12: Which key is used to apply RUN command in GWBASIC?


(a) F1

(b) F2

(b) F3

(c) F4

13: Which statement is used to accept numeric or string data from the
keyboard and assign the data to the variable?
(a) Print
(b) Input
(b) Read/Data

(c) List

14: The error due to the wrong algorithm is called


(a) Logical error
(b) Syntax error
(b) Simple error
(d) None of these
15: The quantity whose value cannot be changed during execution of the
program
(a) Variables
(b) Constant
(c ) Strings
(d ) Numeric
16: An Error caused by improper logic in program is called
(a) Logical Error

(b) Sheet Error

(c) Data Error

(d) Syntax Error

17: Arithmetic operators are


(a) +,-,^, / , =

(b) +, -, *. /, ^

(c)

(c) +,-,*, <, >

(d) +,-, *, / , <

18: What is a named space in the computers memory whose value can be
changed during the execution a program?
(a) Integer

(b) Constant

(c) Variable

(d) Character

19: If A=5, B=3 and C=2, what will be the answer of the following
expression?
(a) 10
(b) 11
(c) 13
(d) 16
20: In BASIC programming language which character is used as a last
character with string variable?
(a) ?
(b) &
(c) %
(d) $
21: Which of the following error cannot be detected by the computer
(a) Syntax error
(b) Logical Error
(c) Run time Error
(d) Execution Error
22: Which of the following is not a logical operator
(a) >
(b) =
(c) <
(d) < >

Q 2: Convert the following algebraic expression into computer expression.(2)


a. (ab)+(bc)

________________________________________

b. 5x-7y

________________________________________

c. abc

________________________________________

d. b2-4ac

________________________________________
PART B

Time allowed: 1 hr

Open ended question:


1: Define elements of problem statement?

(2x9=18)

_______________________________________________________________________
_______________________________________________________________________

_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

2: Explain types of operators?


_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

3: What is the purpose of the programming language?


_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

4: Write a program to display the larger one out of the two given unequal
numbers.
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

Q5: Explain the Documentation in the problem Solving.


________________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

Q6: Explain LIST command with its syntax.


_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

Q7: What is the purpose of PRINT statement?


_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

Q8: Define flow chart?


_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

_______________________________________________________________________

Q9: Which symbol is used to make decision in Flowcharting?


_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________

Practical Part (C)


Q: Write a Program to make comparison between two values and show the
smaller value on the output window?
(8)

Você também pode gostar