0% found this document useful (0 votes)
1K views

Class 7th

The document provides information about lessons in Class 7th term 1. Lesson 1 covers the number system and introduces topics like binary, decimal, octal and hexadecimal number systems. It includes fill in the blanks, true/false, and multiple choice questions related to number systems. Lesson 2 discusses working in Windows 7 and covers topics like libraries, sleep mode, control panel. It also includes related questions. Lesson 3, 5 and 6 cover Microsoft Excel 2010, introducing concepts like workbooks, worksheets, cells, formulas and cell references.

Uploaded by

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

Class 7th

The document provides information about lessons in Class 7th term 1. Lesson 1 covers the number system and introduces topics like binary, decimal, octal and hexadecimal number systems. It includes fill in the blanks, true/false, and multiple choice questions related to number systems. Lesson 2 discusses working in Windows 7 and covers topics like libraries, sleep mode, control panel. It also includes related questions. Lesson 3, 5 and 6 cover Microsoft Excel 2010, introducing concepts like workbooks, worksheets, cells, formulas and cell references.

Uploaded by

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

Class 7th

Term I

Lesson:- 1, 2, 3, 4, 5, 6 and 7.

Lesson :1

Number System.

Fill in the Blanks: 


1.       The base of Binary number system is    2 .
2.       The base of decimal number system is 10.
3.       Octal Number system consists of 8 digits.
4.       In Binary addition 1 +1 e1ual to  10.
5.       Binary number system is understood by the computer system.
6.       Hexadecimal uses 16 symbols to represent numbers.
7.       In Binary subtraction , 1-1 equals    0  .
State True or False:-
1.       The decimal number system consists of 10 digits i.e. 0 to 9.         (True)
2.       The method to perform division of two binary numbers is not same as that of
decimal numbers. (False)
3.       1 multiplied by 0 equals to 0.      (True)
4.       Charles Babbage introduced the concept of 0 (Zero).        (False)
5.       The numbers used in Octal number system  are 1 to 7.     (False)
Multiple Choice Question:
1.       …………. Introduced the concept  of 0 (Zero). 
a.       Ada Lovelace                  b. Aryabhat                  c. Bill Gates                  [B]
2.       A ……………….  Converts the decimal format in to its binary equivalent. 
a.       Digital Computer                        b. Cell Phone                c. Abacus       [A]
3.       A computer understand only ………. Code.
a.       English                           b. French                      c. Binary                      [C]
4.       In Binary multiplication 1×1 equals to  ……………………….
a.       0                                     b. 1                              c. 2                               [B]
5.       To convert Decimal number in to Binary number , divide the Number  by
………………………….
a.       2                                     b. 8                              c. 10                             [A]
Application Based Question:

Q.1. Ratika’s computer teacher asked her to convert the octal number to Decimal
number. Suggest her  the method which she should apply in converting the Octal
number.

Answer:- Divided By 10.

Q.2. The teacher has given an assignment to Saurabh on Binary subtraction.


Subtraction. Is confused how to subtract 1 from 0. Help him in solving the problem.
Answer: with Borrow.

Answer the following:

Q.1. explain Number system and its commonly used types.

Answer:- A set of values used to represent different quantities is known as Number


system. The digital compute represents all kind of data and information in Binary
number. The commonly used number system is Decimal number system .

Q.2. What are the rules to convert a decimal number in to Binary Number?

Answer

1. Divide the given decimal number with the base 2.


2. Write down the remainder and divide the quotient again by 2.
3. Repeat the step 2 till the quotient is zero.
Q.3. Write the rules to multiply two Binary Numbers.

Answer:- The rules for performing multiplication using binary number is same as that of
decimal number . The given table illustrates the multiplication of two binary digits:

A B A*b = C

0 0 0 *0 = 0

0 1 0*1=0

1 0 1*0=0

1 1 1*1=1
Q.4. Briefly explains the Octal Number system.

Answer:- The Octal number system consists of 8 digit i.e.,0 to 7 with the base 8. The
procedure of octal to decimal conversion is similar to binary to decimal conversion. The
only difference is the change of base.

Lesson 2.

Working in Windows 7

Fill in the blanks:


1.       Windows has simplified the task of Managing Data in computer
2.       Content view display each file and folder on a separate row along with details , like
data modified, sixe, author, etc.
3.       To replace double click setting of a mouse with single click , select
the  Folder Option in Control Panel.
4.       With numeric keypad in mouse mode, the Hibernation key is used  for
diagonally  left upward movement.
5.       Hibernation is a state in which a computer shuts down to save power but first
saves everything in the memory on hard disk.
State True or False
1.       Libraries is a kind of folder in Windows 7.                                    (True)
2.       Date and Time once stored in a computer cannot be changed.       (False)
3.       The Sticky keys feature automatically deactivates itself if two key are pressed
together.  False)
4.       There are three panes in Windows Explorer.                                  (False)
5.       Small Icon view is used to view the detailed information about files and
folders.    (False)
Multiple Choice Questions:
1.       ……………. Folder in Windows 7 allows you to organize your files in one place. 
a.       Library               b. Documents               c. Computer                 [A]
2.       …………………… is a power saving state that allows a computer to quickly
resume full power operation when you start working again.
a.       Sleep                  b. Busy                         c. Hibernate                  [A]
3.       ……………….. is a system folder using which we can make changes in the
appearance and current setting of Windows.
a.       Accessories        b. Control Panel           c. Power Options          [B]
4.       ……………… view displays files and folders as medium size icons along with the
basic information. Such as type and size.
a.       Small Icons View   b. Control Panel      c. Power Options          [B]
Application Based Question:

1. Ritu has to complete her assignment and submit it on next day. While typing the
keyboard of a computer system has stopped working. Suggest her the alternate to
complete the assignment.
Answer:- On Screen Keyboard.

2. Meenakshi has stored various files in her laptop. She wants to view all the files
with detailed information including name, type six and date modified. Suggest
there the view format which would fulfill her requirement.
Answer:- Details Icon.

Answer the Following:-


1.       What do you know about Windows Explorer?

Answer:- Windows Explorer is the main tool  that you use to interact with Windows 7.
You need to use the Windows Explorer to view, explore or organize libraries, files and
folders.
2.       Name the different View formats. Briefly explain any two views.
Answer:- Windows provides many ways to arrange and identify your files while you are
viewing them. 1. Extra Large Icons.      2. Large Icons.              3. Medium Icons.          4.
Small Icons

5 . List Icons     6. Details Icons             7. Titles                         8. Content.

Details:- As the name suggests, the details view provides detailed information of files
and folders, including name, type, size and date modified.

Contents:-It displays each file and folder on a separate row along with details, like date
modified size author etc.
3.       How will you set the Date and Time for your computer?

Answer:- This option allows you to change the computer

Click on date and time option in control panel. The date and time dialog box will appear.

By default the date and time tab is selected

Click on change date and time tab. Date and time setting dialog box will appear. Change
date and time

Click ok Button.

4. What is Sleep Mode?


Answer:- Sleep is a power saving state where in a computer does not turn of
completely . In this process monitor and hard disk and turned off but the computer puts
our work and setting in RAM and draws a small amount of power.
5.       What is the importance of Control Panel in Windows?

Answer:- Control panel is a system folder using which we can make changes in the
appearance and current settings of the Window.

Lesson:- 3,5 & 5 (Microsoft MS Excel 2010)

MICROSOFT EXCEL:- Microsoft excel is one of the most popular spreadsheet


software. It is widely used to perform mathematical calculation.
Workbook:- the excel window that appears on the screen is called a workbook.
Worksheet: – a worksheet is a grid like area , made up of rows and columns, where you
can enter and work with data. By default three (03) worksheet in a workbook.
Cell:- A cell is an intersection of a column and row in a worksheet is known as cell.
Row:- 10,48,576

Column: – 16384

A cell can contain up to 32767 characters.


Name box:- Name box is located just above the column heading on the left side of the
window. This area displays the location of the cell pointer.
Formulas Bar:- The formula bar is located to the right of the name box. This bar shows
the data and formulas that you enter in an active cell.
Type of Data:- Three type of data
1. Number                                    2. Text                                 3. Formula
Number:- Numbers are values that consist of numerals from 0 to 9 and the characters.
By default numbers are right aligned in a cell.
Text:–  Text data can contain alphabets numbers spaces and special characters.
By default numbers are Left aligned in a cell.
Formulae:- A formula is a Mathematical equation involving number values, operators
and cell addresses used for performing calculation  on a worksheet.
Formulae begin with and equal to (=) sign.
Note:- To insert a new worksheet press = Shift+ F11 key.

Cell References:- the cell address in the formula is known as cell reference.


Three type of cell references.
(a)              Relative Reference:- when you create a formula, references to a cell or
ranges are usually based on the position relative to the cell. When you copy or move the
formula to other cells the reference cell automatically gets changed.
(b)              Absolute reference:- Absolute reference is used when we do not want to
change the address of the cell on copying the formula to another cell. To make absolute
reference of a formula, add dollar($) sign before the column and row number.
(c)              Mixed Reference:– It is a combination of relative and Absolute references. In
this type of reference, either row  and column has to remain fixed.
Functions:- Functions are Pr-designed formulas in Excel. In excel to perform both simple
and complex calculations. Functions save time and eliminate the chance to write wrong
formulas.
Rules to enter a Function:-
1. All Excel functions must begin with = sign.
2. Function name must be a valid excel name. For example = sum, max
3. Function name must be followed by opening and closing parenthesis.
4. Parenthesis contain arguments within it.
Formula errors:- In Microsoft Excel, if any formula is entered incorrectly, then displays
and error massage instead of the value and assists you in identifying and fixing the
problem.
Data:- Data is a collection of information related to a particular subject.
Field:- a column within a database that contains only one type of data is called field.
Record:-  a row in a database is called record.
Field Name:- It is a column label for the field in a database .
Form: A form is a dialog box that provides an easy way to enter or display a complete of
information or record.
Sorting data:– Sorting means arranging data either in an ascending or descending order
in a worksheet Data can be stored in rows on the basis of text, Number, combination of
text and members or dates.
Filtering Data:– Microsoft Excel provides several ways to analyses data in list. The Filter
feature allows you to see only those records that you want to display while it hides the
rest of the temporarily from the view.
Advanced Filter:– Advance filter option is used to filter the data in multiple fields using
specified criteria, or to copy the filtered records to a different location, or to find unique
records.
Using Advanced filter:– Advance filter option is used to filter the data in multiple fields
using specified criteria or to copy the filtered records to a different location or to find
unique records.
Analyzing data with pivot table:- Pivot table is a powerful tool for consolidating
summarizing and presenting data.
Chart:– Chart is an effective way to display data in pictorial form. Chart make it easier to
draw comparison and analyses the growth relationship and trends among the values in a
range.
Component of Chart:-

See Page No 46 in your book.

Goal seeks. Goal seek is a wonderful feature for fixing a specific result for one cell, by
adjusting a value in another cell.
Consolidating Data:– Consolidation refers to combining of data. We can combine data of
vaiious ranges either in the same worksheet or in the other worksheet.
Data series:–  Data series are the bars slices or other elements that show data values.
Legend :– legend is a key that is used to identify the colors, patterns or symbols
assigned to a data series.
Answer one word.
1. In MS Office, which package in best for calculations?      (Excel)
2. Which do we call the built in formulas used for calculating percentage, interest,
average etc. (Function)
3. Name the term used  for plotting data in graphical form. (Charts)
4. How many type of data can be entered in MS Excel?  (three = Number, text or
Formula)
5. How will you stat MS excel. (start> All program> MS office> Microsoft excel
2010.)
6. Which of the topmost bar in excel screen?( Title Bar)
7. Which bar displays the current selection or current activity? (Status Bar)
8. What is the intersection of row and a column known as. (cell)
9. Which term identifies the location of cell. (Cell Address)
10. By default how many sheet tabs are displayed at the bottom of a worksheet when
we open MS Excel. (Three)
11. Which box shows the location of the cell pointer? (Name box)
12. Which bar shows characters and formulas that we enter into and active cell.
(Formula bar)
13. What is the other name of spreadsheet? (Worksheet)
14. What is the temporary name given name given to a workbook when you open it?
(Book1)
15. Where do you enter data in Excel? (In Worksheet)
16. How can we select a column? (Click on the Column heading)
17. Which option is used to clear the contents of a cell? (Home >Clear>Clear All)
18. Which command is used to revert the last action that you have performed? (Undo)
19. Which is a temporary storage area that  windows reserves for moving and copying
things? (Clipboard)
20. Which option is used to copy data. (Home > Copy)
21. Which feature is used to fill data in cells automatically? (auto fill)
22. Which function key is used to repeat most commands? (F4)
23. Which key combination is used to display the default data and time format?
(Ctrl+Shift+# and Ctrl +Shift+@)
Fill in the blanks:-
1. Formulas are used to perform Calculations.
2. A formula always being with and = (Equal)sign.
3. The cell address in a formula is also called cell reference.
4. The cell address in a formula that does not change on copying is considered
as Absolute reference.
5. To use the sheet reference, you need to enter sheet number Exclamation
markand cell address.
6. Arguments are input to function which accept values as number or text.
7. A function must6 be followed by opening and closing parenthesis.
8. A database helps the user to organize, retrieve, sort and edit data as needed.
9. A formprovides an easy way to enter or display a record.
10. Field nameis a column label for the field in a database.
11. To restrict cell entries within a specified range, use Data Validationoption.
12. To search a record with specific value, click on thecriteria button in a form.
13. Pivot Tableprovides an easy way to present the data in a summarized way.
14. Chartis a effective way to display data in pictorial form.
 

Lesson 6:-   Working with flash CS3


Fill in the blanks:-

1. 1. Flash is a POWERFUL animation software package.


2. The  WORK SPACEis the arrangement of various flash elements such as the
tools panel.
3. The STAGEis the large white space that is seen at the center of the workspace.
4. The gray area surrounding the stage is called the _WORK AREA.
5. The _TIME LINEis fixed window that stay on top of every object in the
workspace.
6. Layer are like multiple film strips stacked on top of one another, each containing
a different image that appears on the stage.
State True or false:
1. The shortcut key to import picture is Ctrl + G.            False
2. Tweened animation is a form of animation in which you change the contents of
every frame for creating an animation.         False
3. Radial gradient changes colour in a circular outward direction Starting from the
focal point. True
4. The default stage size is 550 x 400 pixels.       True
5. The Tools section consists of tools for zooming and panning the application
window.  False
6. Jonathan Gay is considered as the main programmer and visionary of Flash. True
Multiple Choice Question:-
What are the little rectangular cells called that appear on the Timeline?

1. a. Frames                                          b. Layers                     c. Keyframes          [A]


Which of the shortcut key is used to insert a frame?

1. a.  F2                                                 b. F5                           c. F10                     [B]


Which  shortcut ksy do we use to display document properties dialog box?

1. a. Ctrl + F3                                       b. Ctrl + J                   c. Ctrl + C              [A]


Which panel acts as a store house in Flash?

1. a.  Library                                          b. Tools                       c. Properties          [A]


Which shortcut key is used to play the animation in Flash?

1. a.  Ctrl + Alt                                      b. Shift + Enter           c. Ctrl + Enter        [A]


What is the file extension of Flash?

1. a .fla                                                b. .flash                             c. .fas               [A]


Application Based Questions:-
Q.1. Mohit created an animation file using Flash. He wants to convert an object to
symbol using shortcut key. Which shortcut key should he use/

Answer:- F8

Q.2. Chetna created a file in Flash and saved it in her computer. Next day she was
unable to find the same file. . Suggest her the extension which she can use to easily
search that particular file.

Answer.   .fla

Answer in one line or sentence:-


1.      What are the default stage dimensions displayed on the Flash Window?
Answer :-    500 x 400 Pixels.
2.       Name the parts of Tool panel.
Answer:- Toolls , view, color and options. It display modifier for currently selected tools.
3.      Briefly explain the two methods for creating an animation in flash?
Answer:-  Frame by frame animation , Tweened animation .
4.      Name the types of  gradients in Flash.
Answer:-Two types of gradients, Linear and radial.
Answer the following.
Qus.1. What do you know about Flash?
Answer:- Flash is a powerful animation software package developed by adobe system.
Qus. 2. What is the difference between Frame and  Keyframe?
Frame Keyframes
Frames are the little rectangular cells that appear on the timelines. They Keyframes are special type of fr
display the content of the movie at a specific moment on time. object’s properties for an anima
Qus. 3. What does the Property Inspector display?
Ans:- The property inspector is a panel that displays the properties of the selected object
(text, symbol, an image a the timeline or a shape). The list of properties also very in the
property inspector.
Qus 4. What do you understand by Gradient?
Answer:- Gradient means filling color in an object from light to dark that basically gives
shade to an object or a color formed by mixing of two or more colors in an object.
Qus.5. How will you rotate an object?
Answer:- You can drag the rotation handle clockwise or anticlockwise to rotate the
gradient as required.
Qus 6. How will you import graphics  from another file?
Ans:- step   File > Import > Import to stage , you will get the import dialog box.
Browse the file name to import . select the file  name and click on Open .
The Picture will be placed on the stage.
Qus.7. Briefly explain the term Animation?
Answer:- Animation  involves a series of still images, usually painted or sketched
displayed in rapid sequence . then only it appears to show some movement.
Qus No 8 What do you understand by Tint Tweening ?
Ans:- Tint Tweened  is used to change the color of an object. Tint effects work only on
symbols and cannot be added to the object that is drawn directly on the canvas of the
movie.
Lesson 7:-   Working with layers:-
Fill in the Blanks:
Ø  Layers are like  Transparent sheets that can hold objects and are stacked on top of
each layer.
Ø  The active layer in the Timeline is indicated with a  Pencil icon  .
Ø  When you take an object out of the Library, the object is referred as an Instance of a
symbol.
Ø  The display the grids on the stage , select   view  >  Grid  > Slide Grid .
Ø  Mask   is an instance that acts as a hole through which we see the contents of a layer
of layers beneath it.
State True or false:-
v  In Flash , only one layer can be activated at a time .                  (True)
v  To open a new file click on file > new option.                           (True)
v  The speed of the animation can be adjusted in work area.          (False)
v  Masking hides the other parts and show only those parts of an image which are
exactly the same shape of the object.                        (True)
v  An animation cannot be repeated more than once.                      (False)
Multiple Choice Question:-
1.  Which tool allows you to see a faint ghost image of the previous frame?
1. onion skin                      b. Timeline                 c. Layer                                [A]
2. Which option is repeat the animation?
a.Ctrl+F6                           b. Ctrl + Play              c. Ctrl + Loop Playback      [C]
3.  Which key combination can group the objects in Flash?
3. Ctrl+O                           b. Shift+G                     c. Ctrl+G                            [C]
Application Based Question:-
Q.1. Himani has imported an image of jungle scene to a layer. She has drawn a polygon
shape in another layer. She wants to create spotlight effect that would display the
animals and the jungle scene through the polygon object. Suggest her the erect which
can meet this requirement.
Answer:- Use Mask Otion.
Q.2. Isha is a fine arts student. In Flash she has drawn various sketches in different
layers. Now she does not want to make any further changes to her sketches. Which
option should she use to lock all layers and how it is indicated with?
Answer:-Timeline layer.
Answer the following:-
Qus. 1. What do you understand by the term layer?
Answer:-Layer is like transparent sheets that can hold objects and are stocked on top of
each other.
Qus.2. How will add a new layer?
Answer:- Click on the insert Layer button  at the bottom of the time line and select insert
> timeline > Layer.  A new layer appears above the selected layer.
Qus.3. How can we rename a Layer?
Answer:-Click the layer which you want to rename. Double click on the name and enter
the new name “abc”.
Qus.4. What do you know about masking in Flash?
Answer:-Mask in Flash in an instance (or any image object) that acts as a hole through
which we see the contents of a layer or layers beneath it. Masking is often used in Flash
or creates spotlight effect that would display the text through a hole.
Qus. 5. What is the use of Onion Skin Tool?
Answer:- Onion Skin Tool allows you to see a faint ghost image of the previous frame.
 

2ND TERM  Class 7th
Lesson 8 (Conditional Control Statements:)
Fill in the Blanks:-
Ø  A Variable has a unique name, a type  and a sixe, which is used to identify it in a
program.
Ø  A string variable contains values, Symbols or  Text within double quotes.
Ø  IF –THEN statement is used for making Decisions as well as Comparisons.
Ø  If the condition specified after IF is true, then the instruction after Then is executed.
Ø  IF THEN ELSE Is a conditional decision making statement.
Ø  Controls statements help to control the flow of a program.
State True or False:
 Constants can change their values during the execution of a
program.             False
 Numeric variable can hold only numbers.       True
 The condition in IF THEN ELSE statement is by the logical operators.   True
 GOTO statement transfers the program control from one statement to
another . True
 In READ- DATA statement, the data is provided in a program at the time of
execution. True
Application Based Question:
Q1. Vishal has created a program in QB64. He wants that the output of the program
should be displayed subjected to true and false condition. Suggest him the appropriate
statement.

Answer:- if<Condition> then

Print “True”

Else

Print “False”

Q2. Smriti wants to give output of a program in infinite loop. Which statement will you
suggest her to use?

Answer:- Start:

<Condition>

GOTO start

end

Multiple Choice Question:-


Q.1. ………… sign is used to represent an alphabet in a string.

1. +                                                b.
$                             c.                                                 [  B  ]
 

Q.3. In IF..THEN..ELSE statement, if the condition is False, then the ……statement will
be processed.

1. ELSE                                         b. IF                           c.
THEN                                       [  A ]
Q.4. ………… statement is used to transfer the program control from one statement to
another.
1. PRINT                                     b. IF THEN               c.
GOTO                                         [ C  ]
Q.5. ………. statement is used when we want to have more choices in the IF…..THEN
statement.

1. ELSEIF                                     b. GOTO                   c.
IF….THEN….ELSE                 [   A ]
Identify the errors:
Q1. IF A = 5 Rs THEN FOTO START
Answer:- IF A = 5 THEN FOTO START

Q2. IF A> B THEN PRINT A IS GREATER


Answer:-

Q3. IF A = 10A THEN PRINT A$ ELSE PRINT B


Answer:- . IF A = 10 THEN PRINT A$ ELSE PRINT B

Q4. IF Y$ = “KABIR” THEN GOTOA: OTHERWISE GOTOB:


Answer:- IF Y$ = “KABIR” THEN GOTOA: OTHERWISE GOTOB:

Q5. IF X = “SUNDAY” THEN PRINT, “HAVE FUN” ELSE PRINT, “FOLLOW THE
ROUTINE”
Answer:- IF X$= “SUNDAY” THEN PRINT, “HAVE FUN” ELSE PRINT, “FOLLOW THE
ROUTINE”

Answer the following:-


Q1.         What do you understand by constants and variables?

Answer:- Constants:- Constants are the values that do not change during the execution
of a program.
Variables:- a variables is a named location in the memory of computer that store data
temporarily.
Q2.         Describe the use of Control statements.

Answer:- In a program the statements are generally executed in a sequential manner.


However at time the user may need to change this order of execution, either by
repeating or skipping the execution of a few statements subjected to a given condition.

Q3.         Define IF…THEN statement with the help of an example.

Answer:- The IF- THEN statement is the most basic type of control statement. It is used
for decisions based on comparisons. It checks only the “TRUE” condition of the program
and comes to an end.                 Example:- IF<CONDITION> THEN<STATEMENT>.

Q4.         Briefly explain the conditional statement IF-THEN-ELSE.


Answer:- IF-THEN-ELSE is a conditional decision making statement. If the condition
given after IF is true, statement (s) specified after THEN is executed. But if the condition
is False, the ELSE statement will be executed.

Q5.         Explain the use of END IF statement with the help of an example.

Answer:- END IF statement end a multiple line IF block statements. IT is required after
any multiple line IF, ELSE IF or ELSE statement blocks. The END IF should be written
before the END statement.

Q6.         What is the use of GOTO statement? Explain with an example.

Answer:- A GOTO statement is referred to as unconditional transfer control. It is used to


transfer the program control from one statement to another in a program.

LESSON 9 (LOOPING STATEMENTS)


Fill in the blanks:-
v  Looping means repeated execution of statements for fixed number of times in a
program.
v  The Control Variable keeps track of the number of times a process in executed.
v  The control variable in assigned an Initial and Final Value in FOR …NEXT statement.
v  FOR statement is a always used along with the NEXT statement.
v  All the statements, which are to be executed in a loop, come in
between STEP statements.
v  The FOR … NEXT statement increments/ decrements the value of the control
variable.
v  ASCII Characters 7 Can also create beep sound.
State True or False:-
Ø  Looping technique reduces the number of instructions.         [True]
Ø  For statement increments the value of the control variable by one.          [False]
Ø  The same control variable can be used in different loops.                             [True]
Ø  In Nested loop, the outermost loop will be executed first, before the inner loop. [False]
Ø  There can be a maximum of 9 loops within a loop.                                  [True]
Ø  WEND clause in used with FOR statement.                                             [False]
Ø  STEP value can never be negative.                                                          [False]
Application Based Question:-
Q.1.        Ritu is making a program using FOR .. NEXT statement. She wants to five
increment to the counter by the values 5 but she is not able to apply the clause. Which
clause will you suggest her to use with FOR… NEXT?

Answer:-  FOR I = 1 TO 5 , A = A + 1, NEXT I.

Q.2.        Raman’s teacher asked him to name the variable, which keeps count of the
number of repetitions performed in a loop but he is unable to recollect the same. Help
Raman to answer this query.

Answer:- Control Variable.


Q.3.        The teacher asked Priya to make a program and print the series 1,3,5…..19.
She wants that the program should run for 10 times. What logic will you suggest her to
apply to get the desired output?

Answer:- FOR I = 1 TO 10 STEP 2, PRINT I, NEXT I.

Multiply Choice Question :-


Which variable keeps track of the ‘Number of times, a particular instruction has been
executed in a loop?

1. Control                                     b. NEXT                            c.
FOR                [     A      ]
Which value is optional and can either be positive or negative?

1. FOR                                            b. STEP                             c.
NEXT          [    B        ]
Which statement combines the initialization and checking step of counters in a single
statement?

1. DO                                              b. WHILE                          c.
FOR             [    A       ]
Which statement gives the increment to control variable, and directs the program control
back to FOR statement.

1. NEXT                                          b. FOR                               c.
STEP           [    C        ]
Which statement shifts the control back in the WHILE statement?

1. WHILE                                       b. WEND                          c.
DO                 [    B        ]
Which command Plays music in the background in QB64.

1. MB                                             b. MF                                c.
T                    [     A      ]
 

Answer the Following:-


Q.1.        Explain the term looping.

Answer:-  Looping means repeated execution of statements for a fixed number of times.


Looping using technique in programming is that it reduces the number of instructions
and also the memory space.

Q.2.        Define the FOR … NEXT looping statement.


Answer:-  The FOR … NEXT statement is used when a group of statements are to be
executed a specific number of times. This also reduces the length of a program.

Q.3.        What is the use of STEP statement on FOR …. NEXT?

Answer:-  STEP value is optional and can be either positive or negative. While using a
negative number with the STEP value is optional and can be either positive or negative.

Q.4.        Describe the term nested loop.

Answer:- The  use of FOR … NEXT  statement within another FOR … NEXT statement


is known as nested  FOR … NEXT  statement.

Q.5.        How is WHILE … WEND loop different from DO UNTIL loop?

Answer:-

WHILE …WIND :- WHILE statement  directs the computer about how many DO UNTIL LOOP:- This loop  
times the process has to be repeated and WEND statement shifts the control difference is that the execution
back to WHILE statement is false.
Q.6.        Which variable stores the sum of the numbers entered during the execution of
a loop?

Answer:-  An accumulator is variable that stores the sum of the number s entered during
the execution of a  loop.

Q.7.        What is the function of GOSUB statement?

Answer:-  The GOSUB – RETURN command is same as GOTO, except when it


encounters a RETURN statement, the program returns back to the GOSUB command.

Q.8.        What is the difference between Play and Beep Statement?

PLAY STATEMENT BEEP STATEMENT

 The command string expression contains the note or list of notes enclosed in It produces the actual beep soun
double quotes along with the PLAY statement sound can be placed anywhere i
has occurred.
Lesson 10
Graphics in QB64
Fill in the blanks:-
1. In high resolution, the computer screen is divided in 640 x 200Pixels.
2. The amount of pixels per unit on the screen is called the Resolution.
3. The LineStatement is used to draw a straight line.
4. Screen 7 supports 16different colours.
5. The “H” statement draws a line diagonally in upward direction the LeftSide.
State True or False:-
1. The Screen 0 mode is used only for
text.                                                                                         [T]
2. In medium resolution mode, the computer screen is divided into 320×400
pixels.                          [F]
3. The LINE statement is used to fill an object with a
colour.                                                             [F]
4. To draw vertical lines, y-axis co-ordinates will remain same for both starting and
ending points. [T]
5. The background colour code for Gray colour is
7.                                                                           [T]
Application Based Question:-
Q.1.        Kabir wants to draw a box filled with colour using the line statement, but he is
unable to recollect the keyword for making a filled box. Help him to finish this task.

Answer:-  DRAW LINE

Q.2.        The computer teacher has asked Awati to draw vertical lines. Which co-
ordinates will you suggest her to set for both starting and ending points of the line?

Answer:-  LINE (X1 , Y1) – (X2 , Y2) COLORUR

Multiple Choice Question:-


There are ………………… colour option for background and foreground colours.

1. 20                                                b. 16                                  c. 15                  


[     B       ]
We use ……. Statement to draw lines, figures and patterns of different shapes from any
point of the screen

1. PSET                                           b. SCREEN                       c.
LINE                          [    C        ]
To draw  a fill box, the letter ………………….. is used with line co-ordinates.

1. B                                                  b. BF                                  c.
BC                             [     B       ]
……………………………. statement is used to set the screen resolution.

1. Drawing Boxes                      b. Color                            c.


Screen                               [     C       ]
We cannot create any graphics in ……. Mode.

1. Screen 5                                   b. Screen2                       c.


Screen                              [     C       ]
Answer the Following:-
1. What is the use of PSET command?
Answer:- The PSET command stand for Point Set. This command is used to set the
pixels at any specific location on the screen. PSET command can set the pixel values as
per requirement and draw the figure.

2. Explain the brief the use of CIRCLE statement.


Answer:- The Circle statement is used to draw a circle, ellipse or an arc of a circle.

3. What is the difference between B and BF option used with line statement?
Answer:- The letter B indicates the box option

The letter BF indicates to fill the box with the desired colour shade.

4. Explain the function of NEWIMAGE command available in QB64.


Answer:-NEWIMAGE screen statement is used to create a new screen size with higher
resolution using the predefined screen options.

5. What is the use of paint statement?


Answer:- PAINT statement is used to fill an object with a colour. It specifies the co-
ordinates from where the figure starts and fills the colour within the enclosed area.

6. How can we draw a rectangle? Explain with en example.


Answer:- The LINE statement is used to draw a Rectangle on the screen.

Its syntax is :- LINE (X1 , Y1) – (X2 , Y2) COLOR

EXAMPLE:-

SCREEN 8

COLOR 7, 12

CLS

PRINT ”this is a Rectangle”

LINE (60,60) (130, 100),6 , BF

END

Lesson 11:- Internet Services (SURFING NET AND E-MAIL)


The internet is a global network of computers. But in many ways, it resembles a small
town with similar services.

v  Let’s say you want to send or receive mail, the internet has electronic post office that
allow you to communicate instantly with e-mail, where no papers, envelopes or stamps
are required.

v  The World Wide Web is like a giant mall, where you can shop preview a movie
download music watch TV program and listen to radio stations from around the word.

v  There are online libraries with millions of books and periodicals which you can use any
time.

v  Chat rooms on the internet are equivalent to 24 hour coffee shop, with people online
to chat anytime you want.

Social networking: Social networking is the group of individual, who share their thoughts,
ideas, activities, events, photos, message and videos over the internet. The social
networking web sites function like on online community. Some of the popular social
networking sites are:- Facebook, LinkedIn, and hi5.
Micro blogging and twitter: – Micro blogging is a new form of communication in which
users can share their thoughts via short posts distributed by SMS (Short messaging
service), mobile phones, emails, digital audio or the web. Some of the most notable
service is Twitter, Tumblr, Jaiku etc.

Twitter is an online social networking site that allows users to send and receive text based
messages known as Tweets.  A tweet is restricted up to 140 characters.
BLOGS. A blog is an easy to create web site that allows users to share their thoughts
with the world. The word “blog” comes from “Weblog” because a blog consists of a
signed and dated log of individual postings. The topic of the blog can be anything from
personal to professional.
Cloud Computing:-
Cloud is defined as the set of hardware, Networks, storage and service, Combined
together to deliver different aspects of computing as a service over a network or internet.
Cloud computing refers to manipulating configuring and accessing the application online.
Moreover this technology is making our business applications mobile and collaborative.
We can say that cloud computing is a model for enabling convenient and on demand
network access to a shared pool of computing resource that can be released with
minimal efforts or service provider interaction.

One Drive:-
One Drive, previously known as sky Drive Windows live Sky Drive Is a free online
storage facility offered by Microsoft? In February 2014. It has been officially renamed
from Sky Drive to One Drive that means one place where you can store all your photos,
videos, documents, etc., and that too free of cost.

 
 

Note:- Microsoft originally offered 25GB free storage space to SkyDrive users, But
reduced the amount to 7GB in the year 2012. From September 2013 onwards it has
included four premium storage plans to a upgrade the storage space.
E-Greetings:- An e-greeting is an electronic greeting card that you can send over the
Internet to convey your wishes to a friend or relative.
E-Mail:- Electronic mail is a process of sending and receiving text based messages over
the internet. You must have an e-mail address in order to access your e-mail. The email
address is similar to a postal address.
An e-mail address consists of two parts separated by “@” symbol. An email address
cannot contain spaces e.g. [email protected].
User Name:- It is the name of a person’s  account. This can be the actual name of the
user, or any other name. e.g. sumitkaloniya
Domain Name:- It is the location of the person, account on the internet separated by a
period(.) and them type of organization is mentioned. E.g. gmail.com.
Micro blogging: Micro blogging is a new form of communication in which users can
share their thoughts via short posts distributed by SMS(Short Message Service), mobile
phones, emails, digital audio or the web.
Internet forum:-  the term forum refers to a discussion area in a web site where people
with common interests can communication in the form of posted messages. It is a
system that allows users to send, read and reply to messages on a particular subject in
real time. A forum can be focused on any topic such as language technology, Sports,
music religion, etc.
Note:-

v  You can send the same mail to many persons by typing their e-mail addresses in to
box separated b comma.

v  Twitter is an online social networking site that allows users to send and receive text
based message known as tweets.

v  Cloud computing refers to the manipulation, configuring and accessing the application
online.

v  A part from the message, users can also send other type of computer files along with
the messages which are called attachments.

Fill in the Blanks:

Answer in one word or a sentence

1. Which icon represents an attachment? (Paper Clip)


2. Name an e-card website. (www.123greeting.com)
3. What do you call the underlined text that generally has blue color? (Hyperlink)
4. Where do we find the information about all the mails that we receive? (Inbox)
5. Which Button is pressed after composing an e-mail> (Send Button)
6. Name of easy to create website that allows users to share their thoughts with the
world? (Blog)
7. Where do we type the web address of any website? (Address bar)
8. Where do we find the “Connect to internet” icon? (Desktop)
9. Name any two popular online social networking sites. (Twitter, Facebook)
10. What are the text based messages called which are sent and receive ton
twitter? (Tweets)
11. Name the application software that allows us to view different websites. (Web
Browser)
12. Which feature is used for sending mails over the internet? (E-Mail)
13. Name the popular internet service to send and receive typed message instantly in
a 2-way communication. (Chatting)
14. Which special character is a must in the E-Mail address?(@)
15. Which symbol separates the email addresses if we are sending the same mail to
many people?(comma)
16. Who is considered to be the founder the World Wide Web? (Tim Berners Lee)
17. What do we call the text which is automatically added to outgoing
mail? (Signature)
18. Name the founder of Google. (Larry Page and Sergey Brin)
19. How many parts does and e-mail consist of? (2)
20. What is the process of browsing the various web pages one after another
called? (Surfing)
21. What is the collection of inter linked web pages known as? (website)
Abbreviation :-

1. VIRUS:- :-Vital Information Resources Under seize


2. VDT:-Visual Display Terminal
3. PPM:- Pages Per Second
4. CAL:- Computer Aided Learning
5. COBOL:- Common Business Oriented Language
6. FAT:- File Allocation Table
7. ISOC:-Internet Society
8. DOT:- Department of telecommunication
9. LCD:- Liquid Crystal Display
10. POST:- Power On Self-Test
Lesson 12:- Virus
VIRUS:- Vital Information Resources Under seize. Some people distinguish between
general viruses and worms:- Worm is a special type of virus program that copies and
multiplies itself by using computer networks and security flaws. They can overload
network resources very quickly, which in turn causes slowdown in data transmission due
to heavy consumption of system memory or network bandwidth.
Trojan Horse:–  Trojan horse are simple programs that pretend to be useful applications
while they always do something destructive most likely does damage to a computer, like
erasing a disk. They are not self-replicating. A Trojan can spread only when it is copied
to another system.
Malware:– Malware is made up of two words malicious and software. It is software that
enters into a computer and damages it without the knowledge of the user. Malware is a
trouble causing program.
Spyware:– Spyware is a type of malware that is installed on computer and collects
information about users without their knowledge. Spyware programs secretly monitor the
user computing. They can collect various types of personal information such as internet
surfing habits, visited web pages, and transmits that information in the background to
someone else.
Three Type of Virus:–
Boot Viruses:– These viruses infect the boot record or master boot records. They replace
the boot record that is responsible or loading the operating system in memory by
copying it elsewhere. Boot virus become active at the time of booting the machine.
Examples are – Disk killer, Stoned virus etc.
Program file Viruses:– These viruses infect executable files, program such as those with
extension like .com, .exe, .ovl, etc. These programs get loaded in the memory during
execution. The virus becomes active in memory by replicating itself and infecting files on
the disk. The examples of program file virus are Sunday, Cascade etc.
Macro viruses:– Macro viruses use another application’s macro programming language
to distribute themselves. They infect documents such as MS Word or MS Excel, and are
typically spread to other similar documents.
SYMPTOMS OF VIRUS
ü  Decreasing the speed of computer by decreasing the memory.

ü  Causing strange movements or patterns on the screen

ü  Displaying unusual messages like “Your PC is stoned” etc.

ü  Frequent handing of the system

ü  Showing abnormal write protect error.

ü  Reformatting the hard disk.

ü  Deleting or damaging files.

PREVENTING A VIRUS INFECTION


v  Every PC should be equipped with some anti-virus program.

v  Always scan the pen drive before coping files.

v  Do not install pirated software.

v  Scan the hard disk twice a month.

v  Take the back up of important files every day.

v  Use internet and email attachments very carefully.


History of Virus
Computers and computer users are under assault by hackers like never before, but
computer viruses are almost as old as electronic computers themselves.  Most people
use the term “computer virus” to refer to all malicious software, which we call malware.
Computer Viruses are actually just one type of malware, a self-replicating programs
designed to spread itself from computer to computer. A virus is, in fact, the earliest
known malware invented.

The following is a history of some of the most famous viruses and malware ever:

1949 – 1966 – Self-Reproducing Automata:


1959 – Core Wars
1971 – The Creeper:
1974 – Wabbit (Rabbit
1974 – 1975 –  ANIMAL.
1981- Elk Cloner:
1983 – This was the year when the term “Virus” was coined by Frederick Cohen for the
computer programs that are infectious as it has the tendency to replicate.
1987 –  Brain: This is a virus also known as the “Brain boot sector”, that is compatible
with IBM PC  was programmed and developed by two Pakistani programmers Basit
Farooq Alvi, and his brother, Amjad Farooq Alvi.
1987- Lehigh: This virus was programmed to infect command.com files from Yale
University.
1. Which computer program disrupts normal operation of a computer?  (virus)
2. What are type of virus? (Boot virus, Program file virus and Micro virus)
3. Which kind of viruses infects executable files, programs such as those with
extension like .com, .exe, .ovl, .drv etc.? (Program file virus)
4. Which type of virus infects the boot record of the Operating system directly?
(Boot Virus)
5. Name some program file viruses. (Sunday, Cascade)
6. Name some boot Virus? (disk killer, stoned virus)
7. Which virus can spread only if a user is copying it and storing in other computer?
(Trojan Horse)
8. What was the first PC virus? (Brain)
Q.1. What is a virus? Write its type.
Ans.:- A computer viruses is a program or a set of programs that disrupts the normal
functioning of a computer. A virus infects destroys data. It enters into a computer without
the permission or knowledge of the user.

1. A)Boot Viruses
2. B)Program file Viruses
3. C)Micro Viruses
Q.2. List of problems that can be caused by a virus in a computer.
Ans.:- a virus can cause many problems in a computer such as;

 Decreasing the speed of a computer by decreasing the memory.


 Causing strange movements of patterns on the screen.
 Frequent hanging of the system.
 Reformatting the hard disk.
 Deleting or damaging files
Q.3. What do you understand by the term Worm?
Ans. A Worm is similar to a virus in design and is considered to be a sub class of a virus.
A works spreads from computer to computer, but unlike a virus, it has the capability to
travel without any human action.

Q.4. Describe the term Trojan horse.


Ans. A Trojan horse is full of trickery as its name reflects. The Trojan horse at first
glance will appear to be useful software but will actually damage the computer once it is
installed. Users on the receiving end of a Trojan horse are usually tricked into opening
them because they appear to be receiving useful software or files from a genuine
source. When a Trojan is activated on a computer, the results an very. Sometimes they
add silly icons on the desktop or cause damage by deleting files and destroying
information on the system.

Q.5. Define Spam.

Ans. Spam are unwanted bulk e-mails that come from strange sources. Spam are
generally sent in large number for commercial advertising.

Q.6. What is the function of an antivirus software?

Ans. Antivirus software is computer programs which are designed to identify, prevent
and remove viruses from a computer. They perform the following tasks in a computer.

v  Scan the computer files to look for now viruses from virus dictionary.

v  Identify suspicious behavior from any computer program which might indicate
infection.

v  Scan the incoming e-mail which might contain virus in attachment.

Q.7. What is Encryption?

Ans. Encryption is the process to transforming data into an unreadable code.

Q.8. What is firewall?

Ans. Firewall is a software or hardware tool that protects a server, a network of an


individual PC from almost ever attack by viruses and hackers.

Fill in the blanks.

1. A computer virus disruptsthe normal operation of a computer.


2. Computer viruses results in loss of Speedand destruction of data.
3. Virusenter in the computer without the permission or knowledge or the user.
4. A computer virus cause’s harm to the dataand program stored in a computer by
overwriting them with garbage.
5. Viruses enter through an infected floppy, emailor internet.
6. Virus programs are self-replicating.
7. Some virus programs monitor the clockin the host computer and trigger on a
certain day like Friday the 13th .
8. Antivirus softwareare designed to identify prevent and remove virus from a
computer.
9. A forumis a discussion area on a web site where people with common interests
can communicate in the form of posted messages.
10. Microbloggingis a new form of communication in which users can describe their
status in short posts.
11. A tweet is restricted up to 140characters.
12. A signaturein an email is a text, which is automatically added to your outgoing
mail.
13. E-Mailis a process of sending and receiving text based messages over the
Internet.
14. One Drive is a free online storage facility offered by Microsoft.
15. We need the recipient’s E-mail address to send him an e-card over the internet.
16. Internetis global network of millions of computer connected to each other.
17. An organization responsible for providing internet services to customers is
calledISP.
18. Jack Dorsey is the founder of Twitter.
True and False.
1. A computer virus is similar to a biological virus.                                       True
2. All virus programs cause harms to data or programs.                              True
3. The virus , Friday the 13thgets activated on 25th December.                  False
4. The creeper virus was first detected on ARPANET  in year 2002.           False
5. We should equip our computer with anti-virus programs.                       False
6. Trojan Horse are self-replicating.                                                                  False
7. Virus can enter our computer through an infected pen drive.                (True)
8. Virus has no effect on the speed of a computer.                                       (False)
9. Virus increase the memory of a computer.                                                 (false)
Multiple Choice Questions:  (MCQ)

1. Which virus infects the boot record of master boot record?


2. Worm                                           b. Boot Virusc. Spyware
3. Which virus is named after the wooden horse used by the Greek army to conquer
the city of Troy?
4. Dark Avenger                            b. Stoned Virus                 c. Trojan Horse
5. When was the first PC virus released?
6. 1987b. 1985                                  c. 1995
7. Which one of the following is the name of a virus?
8. Jan First                                        b. April  Fristc. May First
9. Who released the first PC virus?
10. Duke Brothers                           b. Wright Brothers           c. Farooq Alvi
Brothers

You might also like