[go: up one dir, main page]

0% found this document useful (0 votes)
2 views8 pages

Computing 2

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 8

$,il,e Gr,ty gcriln /

End of Year Examination 2O2L-22


$tttr lt76

Student's Name Eoy23-174-


Ayyaz jamil Student lD Section T
c7
Teacher's Name Annum Campus Name Mianwali

COMPUTING May 2O22


CLASS 7 I hour

--- For Examinerr's use only ---

Question Max. Marks


INSTRUCTIONS No. Marks Obtained
1 7
o Enter your Full Name, Student lD, Section,
2 6
Subject's Teacher Name and Campus Name in the
3 7
boxes above.
4(a) 4
. Write your answer to each question in the spaces 4(b) 3
provided. 4(c) 4
4(d) 3
r You should show all your working where
4(e) 2
appropriate.
4(f) 4

lnvigilated by: Total


40 40
marks
Marked by:

Marks entered by:


Percentage A*

o
r
@
a
d

r
o
o
Section A Objective: 20 Marks

q1 For each question below there are four options A, B, C and D. Circle the best option.
t_J71
(i) are just a dead pieces of code.

A Comments
B Labels

C Function
D lndentation

(ii) Which of the following is an example of data?

A lmage
B Movie
C Voice note
D Allof the above

(iii) ln order to repeat set of instructions in python, loop is used.

Arf
B Repeat

C lf-else
D For

(iv) For barcode scanning in Edison Robot, press record button times.

A L

B 2

c 3

D 4

(v) is like Edison's Brain


E

A Sensors

B Microcontroller El

C LED

D EdController
(vi) ln App Lab what does the set property block do?

A Enables you to change look of elements

B Repeats a set of instructions

C Ends the program


D Starts a new program

(vii) The User lnterface or Ul of an app refers to:

A One button on the screen


B The layout of the screen that a person interacts with
C The On/Off button
D An event

Q2 For each question below there are two options True and False. Circle the correct
answer. l_16l
(i) 23_abc is a correct format of variable in python

A True B False

(ii) def is used to create a new function in python

A True B False

(iii) Python is a High Level Programming Language designed to be easy to read and
simple to implement

A True B False

(iv) For uploading, Edpy program from computer to Edison Robot, the volume of
computer should be 40% precisely

A True B False

(v) lF condition is used for making decision in program.

A True B False

(vil ln Applab elements have lots of properties you can change their text colour,
background colour and font size

A True B False
q3 Fill in the blanks t_J7l
(i) statement is a set of rules performed if a certain
condition is met.

(ii) The error occurs due to improper planning of program flow is called

(iii) A logical step by step method in order to solve a problem is called

(iv) While loop can be used to run a function within a range of numbers.

(v) The If repeats a statement or group of statements until


a given condition is true.

(vil To connect Edison with computer we need Edcomm cable.

(vii) Event are user actions, like clicking a button.


Section B Subjective: 20 Marks

Q4 Answer the following questions: I_J20)


(a) Draw four different flowchart symbols and write their purpose of use. /4

Symbols Purpose
It use in the starting and ending of the
flowchart

It is use to show input and output

It use for making decision

It is use to tell processing

(b) Write three rules to define a variable in python /3

It must start with a letter or a underscore character


They are case sensitive

They can not start with a number or alphanumeric characters


(cl What are loops in programming language? What is the difference between for loop
and while loop. /4
Loop are the feature of program that can repeat every thing
For loop repeat a statement as many time we like

While loop repeat when a condition is true


Can repeat as many time as we want

Can not repeat asText


many time we want
Text

Text

Text

Text

(dl what do you understand by the term "Robotics"? How robotics can improve
human lifestyle and work style? lE

Robotics is a branch of engineering that include


conceptions,manufacturing and designing

Human lifestyle can be improved by robots infect they made to


make human life easy as well as safe
By
They will be used instead of human to reduce human efforts
Many robot are been used in our industries to reduce human
efforts and scientists are still trying to modernise human lifestyle
(e) ln Applab what are event handlers? Which block can be used to create event? /2

Event are user action from moving a mouse to changing


the screen . We can add event to our app by using
Another type of block known as on event()

Text

Text

(f) What is the difference between Design mode and Coding mode in Applab? 14
Code Design
It is use to add feature It is use to make our app
To our app Beautiful
Uses blocks Use icons
BLANK PAGE

You might also like