Angel International School - Manipay 1 st Term Examination November, 2015 Information & Communication Technology Grade 11A & C Duration: 3.00 Hours Part 1 Choose the most appropriate answer. 1) Find the correct type declaration from the following list. a) int x,y; c) Dim x,y as integer b) Dim x,y as integer; d) Dim x y as integer 2) Which is not in a Visual Programming a) Visual Basic b) Visual Foxpro 3) Which is not an data type in Visual Basic a) Integer b) Double c) Visual C d) Visual Java c) String d) Word 4) Which is the symbol for comment in Visual Basic Program a) // c) b) /* d) Index No:- 5) What will be output of the following statement Print AISM, ; Print Manipay, Print Jaffna, Print Chavakacheri a) AISM, c) AISM, Manipay, Manipay, Jaffna, Jaffna, Chavakacheri Chavakacheri. b) Manipay AISM, d) AISM, Manipay, Jaffna, Chavakacheri Jaffna, Chvakacheri 6) What is the default data-type in Visual Basic? a) String b) Integer 7) What is the default property of a check box? a) Value b) Caption 8) The application name always appears in the: a) Properties window b) Title bar 9) The colour of a button is: a) One of its properties b) Not updateable 10) Code is: a) Updateable in the form editor b) Seldom used c) Variant d) VB does not have a default data-type c) Checked d) Text c) Intermediate window d) Code window c) Defined in the project d) Defined in the Intermediate window c) An object d) Instructions 1
11) Controls are: a) Code b) Part of the menus c) Objects d) Rules 12) The location of the form on the desktop during execution is determined by the: a) Form Designer window c) Project Explorer window b) Form Layout window d) Context Menu 13) Visual Basic forms are identified by a: a).frm suffix b).mak suffix 14) To exit Visual Basic: a) Use the File Menu to select Quit b) Use the Window Menu to select Exit 15) The text property of a text box behaves like a? a) numeric b) variant c).for suffix d) A special icon c) Click on the diskette icon d) Click Alt + Q c) string d) function 16) Which one of the following is the correct syntax to make a control called Pic1.visible? a) Visible.Pic1 = True c) Pic1.Invisible = False b) Pic1.Visible = True d) Pic1.Enabled = True 17) What would be the result of Val (Text1.Text) if you entered in: (Rs 3,000) a) 0 c) 3 b) 3000 d) Run-Time Error 18) What is the maximum caption size for a text box? a) 240 characters b) 255 characters c) Unlimited d) Text box does not have a Caption property 19) What is the maximum caption size for a label? a) 240 characters b) 255 characters c) Unlimited d) Label does not have a Caption property 20) The keyboard short cut for Run: a) F4 b) F5 c) F6 d) F7 21) Which of the following is not a programming? a) Microsoft word b) Microsoft VB.net 22) Which is the correct full meaning of VB? a) Variable Book b) Visual Book c) Microsoft VB 6.0 d) None of the above c) Variable basic d) Visual basic 23) Select proper RUN command for open VB6: a) Vb6.0 b) Vbs c) Vb6 d) Vb 6.0 24) The keyboard shortcut for Properties: a) F6 b) F4 c) Ctrl + P d) F10 25) What is the use of this underscore (File)? a) Shortcut b) Exclusive mode c) Style d) Nothing (25 Marks) 2
Write correct answer for the following 1) What is variables? Part- B 2) What are the operators in VB programming and give some expressions in every operators? 3) How to write Visual Basic statement for appear given message box when click any button. Hi Students!, Have a Nice Exam OK Cancel (9 Marks) 2. Fill up the vbcode view area: Private Sub Timer1_Timer() Timer1. Interval=... Label1 =. (3 Marks) 3. Write down the numbered area Name? (5 Marks) 7 1 2 6 8 9 3 4 5 10 3
4. Fill the blank lines with proper codes: x = Val(..Text) y = Val(Text2. ) If x > Then ma = x ma = y Text3.Text = ma If x < y mi = x mi = y..text = mi Private Sub Command2_Click().Text = "" Text2.Text = "".Text = "" Text4.Text =.. Text1.SetFocus (10 Marks) 4
5. From NIC no to DOB Calculation: Private Sub Command1_Click() Text2.Text = Mid(....text, 3, 3) If Mid(Text1.Text, 3, ) > 500 Then Text3.Text = ".." Text3.Text = "Male" Text4.Text = "19" & Left(Text1.Text,.) If Text3.Text = "Male" Then Text5.Text = Day(..(Text1.Text, 3, 3)) Text5.Text = Day(Mid(Text1.Text, 3, 3) - 500) If Text3.Text = "Male" Then Text6.Text = (Mid(Text1.Text, 3, 3)) Text6.Text = Month(Mid(Text1.Text, 3, 3) - 500) Text7.Text = & "-" & Text6.Text & "-" &.. (10 Marks) 5
6. Forms and Normal Math: Private Sub Command1_Click()....Hide Form2. Private Sub Command2_Click() Private Sub Command3_Click() Dim n As.. Dim x, y, sum As.. n = Text1.Text x =.(Text2.Text) y = Val(Text3.Text) sum = x. y Text4.Text = sum Private Sub Command4_Click()....Text = "" Text2.Text = "" Text3. t = "" Text4.Text = "" Text1.. (08 Marks) 6
Write down the all the answers 1) i) What is a Computer? ii) What is the different between Dos & Windows operating system? iii) How to create a new shortcut icon on the Desktop? 2) i) What is the main work of Operating system? ii) What is the name of Latest Operating system? iii) What is the use of system commands, which is in the Control panel? 3) i) What is a folder? Where did the folder tree go? ii) What is a file name extension? iii) Which characters can't be used in a file name? 4) i) How do we restart, shut down, or log off my PC? ii) How does System Restore work? iii) Why should I back up files? 5) i) What is Font? ii) How to install new Fonts? iii) How to uninstall the Fonts? 6) i) What is a virus? ii) How do we check for and remove viruses? iii) How much hard disk space do we need to burn a CD & DVD? 7) i) What is a user account? ii) What types of user accounts are there? iii) How can we switch to a different user account? 8) I) What is Command Prompt? ii) What is disk defragmentation? iii) Use of add/remove commands? What are the main tabs? Explain it? 9) I) Write away to do the following commands and explain its use? a) File search b) Hard disk format c) Drive Properties ii) Explain these commands and write its use? a) System information b) Character map c) Disk cleanup iii) How to rearrange a taskbar? 10) I) What are the International Domain Names? ii) What does it mean to download a file? iii) What is the Internet Explorer? And address bar? ***** (3 x 10 = 30 Marks) 7