Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
202 views

Class 8 Computer Science Compiled Weekly Assignments

This document contains 8 assignments for a Class 8 Computer Science class covering chapters on Visual Basic and programming languages. The assignments include tasks to design VB forms with buttons and controls to accept user input and display output, write code snippets to perform calculations on user-provided values, and differentiate concepts like compilers vs interpreters. Students are asked to create simple VB applications and write short notes on VB interface elements and programming topics.

Uploaded by

B
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
202 views

Class 8 Computer Science Compiled Weekly Assignments

This document contains 8 assignments for a Class 8 Computer Science class covering chapters on Visual Basic and programming languages. The assignments include tasks to design VB forms with buttons and controls to accept user input and display output, write code snippets to perform calculations on user-provided values, and differentiate concepts like compilers vs interpreters. Students are asked to create simple VB applications and write short notes on VB interface elements and programming topics.

Uploaded by

B
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

DPS – MIS, DOHA- QATAR

CLASS VIII COMPUTER SCIENCE ASSIGNMENT


CHAPTER 2 –STARTING WITH VISUAL BASIC
MONTH- APRIL
ASSIGNMENT: 1 ( WEEK 1)

I. Answer in one word:


a) What is the shortcut key to open project explorer window?
b) Which tab of the VB startup dialog box consists of already saved
projects?
c) What will be the last line of code in any VB program?

II Answer the following:


a) Differentiate between the following Title bar and Tool box
b) Which are the three ways by which the Code Window can be accessed?
c) What is IDE? Why it is called so?

III Write short notes on the following:


a) Form Layout Window
b) Recent Tab in VB startup
c) Project Explorer Window
*******

Page 1 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 2 –STARTING WITH VISUAL BASIC
MONTH- APRIL
ASSIGNMENT: 2 (WEEK 2 )

I. Answer in one word:


a) The extension name used for a visual basic project.
b) The shortcut key that is used to run or execute a visual basic program
c) The extension for saving a visual basic form.

II Answer the following:


a) Which are the seven steps to be followed in order to create a simple VB
application?
b) Which are the three ways by which a project can be executed?
c) Differentiate between Blank Form and Form Layout Window.

*******

Page 2 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 3 : VISUAL BASIC- INTEGERATED DEVELOPMENT ENVIRONMENT
MONTH- APRIL
ASSIGNMENT: 3 (WEEK 3 )

I. Fill in the blanks:


a) is a graphical control that is used to display text that can’t
be changed directly by the user.
b) property specifies the color of the text.
c) The control is used to display text that may be edited directly
by the user.

II Answer the following:


a) Differentiate between Name and Caption property of Label control.
b) Which are the two ways by which you can add controls to the form?

III Write short notes on the following:


a) Scrollbar property
b) Frame Control
c) Alignment Property

*******

Page 3 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 3 : VISUAL BASIC- INTEGERATED DEVELOPMENT ENVIRONMENT
MONTH- APRIL
ASSIGNMENT: 4 (WEEK 4 )

I. Fill in the blanks:


a) When the first time a form is displayed in a project, VB generates an
event known as .
b) statement is used to insert a comment in the program.
c) PRINT statement is used to display the message on the .

II Answer the following:


a) What is meant by Message Box function?
b) Write any two advantages of GUI.

III Write short notes on the following:


a) InputBox function
b) Separators
c) CLS statement
*******

Page 4 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 3 : VISUAL BASIC- INTEGERATED DEVELOPMENT ENVIRONMENT
MONTH- MAY
ASSIGNMENT: 5 (WEEK 5 )

Answer the following:

a) Design a visual basic project with a form. Insert two command buttons
on the form and set the appropriate properties for them. On click of the
first Command button a message “YOU CLICKED THE COMMAND
BUTTON” should be displayed and on click of the other the execution
should stop.

b) Design a visual basic project with a form. Then add a command button
with the caption PRODUCT. Write the code to accept two numbers
from the user using two textboxes and display their product in a
message box.

*******

Page 5 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 3 : VISUAL BASIC- INTEGERATED DEVELOPMENT ENVIRONMENT
MONTH- MAY
ASSIGNMENT: 6 (WEEK 6 )

Answer the following:

a) Design a visual basic project with a form. Insert a command button on


the form and set the appropriate properties for them. On click of this
Command button accept a number form the user using inputbox and
display the half of that number in a message box.
b) Design a visual basic project with a form. Then add a command button
with the caption Submit. Write the code to accept the name of a person
from the user using a textbox and print the message “How are you
<name> ? ”.

*******

Page 6 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 1- INTRODUCTION TO PROGRAMMING LANGUAGES
MONTH- JUNE
ASSIGNMENT: 7 (WEEK 8 )

Answer the following:

a) Make a list of all the High Level Languages ( according to the year they
were introduced).
b) Differentiate between Interpreter and Compiler.
c) Write any 2 advantages of 4GL.

(Note: No assignment is uploaded for week 7 and week 9)

Page 7 of 8
DPS – MIS, DOHA- QATAR
CLASS VIII COMPUTER SCIENCE ASSIGNMENT
CHAPTER 3 : VISUAL BASIC- INTEGERATED DEVELOPMENT ENVIRONMENT
MONTH- JUNE
ASSIGNMENT: 8 (WEEK 10 )

Answer the following:

a) Design a visual basic project with a form. Insert a command button with
the caption SQUARE . On click of this Command button accept a number
form the user using inputbox and display the square of that number in a
textbox.
b) Design a visual basic project with a form. Then add a command button
with the caption Submit. Write the code to accept the name of a person
from the user using a textbox and display the message “ Sorry ,
<name> Registration closed! ” in a message box.

*******

Page 8 of 8

You might also like