What are the Features of MDI Forms that Make them Different from MDI Child forms? |
|
University | Amity blog |
Service Type | Assignment |
Course | |
Semester | |
Short Name or Subject Code | Programming in Visual Basic |
Product | of Assignment (Amity blog) |
Pattern | Section A,B,C Wise |
Price | Click to view price |
Programming in Visual Basic
Assignment A
Answer any five of the questions below.
1. Explain the Visual Basic development environment. Also discuss the basic program structure in Visual Basic.
2. Analyze the difference between Local, Module level and Global Variables in Visual Basic (VB).
3. Explain the need of built-in functions in Visual Basic. List out the various built in functions that are available in the latest version.
4. What are the features of MDI forms that make them different from MDI Child forms?
5. Create a form where the user can enter their name into a text box and have the name as output into a label in a different font and color.
Assignment B
1. Subject should display name of subjects:- c++, VB, Java
2. Subject should display name of subjects:-c++, VB, Java
3. Submit button should submit the result and Exit button should exit when clicked.
Assignment C
Question No. 1 Marks – 10
Event-driven languages are:
Options
FORTRAN based
Are used to write procedural languages
OOP
Designed to make programming GUI easier
Question No. 2 Marks - 10
IDE is:
Options
Independent Development Enterprise
A development environment for machine language
A software project management tool
An Integrated Development Environment for Visual Basic
Question No. 3 Marks - 10
Which of the following is not part of the IDE:
Options
Code editor window
Properties window
Form layout window
General window
Question No. 4 Marks - 10
The application name always appears in the:
Options
Properties window
Intermediate window
Code window
Title bar
Question No. 5 Marks - 10
The color of a button is:
Options
One of its properties
Not updateable
Defined in the project
Defined in the Intermediate window
Question No. 6 Marks - 10
Code is:
Options
Updateable in the form editor
Instructions
Seldom used
An object
Question No. 7 Marks - 10
Controls are:
Options
Code
Part of the menus
Rules
Objects
Question No. 8 Marks - 10
In the IDE, which of following is used to design the layout of an application?
Options
Form Designer window
Project Explorer window
Context Menu
Form Layout window
Question No. 9 Marks - 10
The location of the form on the desktop during execution is determined by the:
Options
Form Designer window
Project Explorer window
Context Menu
Form Layout window
Question No. 10 Marks - 10
The Object Browser:
Options
Displays the command buttons and textboxes, etc.
Shows frequently used shortcuts as objects
Is a Context Menu
Displays the object libraries and their combinations of data and code
Question No. 11 Marks - 10
The location of the form on the desktop during execution is determined by the:
Options
Form Designer window
Project Explorer window
Context Menu
Form Layout window
Question No. 12 Marks - 10
The first procedure-oriented language was:
Options
FORTRAN
BASIC
COBOL
ADA
Question No. 13 Marks - 10
C is:
Options
A language widely used in UNIX
A language based on BASIC
Used primarily for business applications
A GUI
Question No. 14 Marks - 10
COBOL is:
Options
One of the oldest programming languages
Still widely used
Not suitable for business applications
none of the above
Question No. 15 Marks - 10
Object Oriented languages:
Options
Are procedural languages
Are task oriented
Are based on actions happening to objects
Are natural language techniques
Question No. 16 Marks - 10
Visual Basic projects are identified by a:
Options
“.vbp” suffix
“.mak” suffix
“.vbg” suffix
All the above
Question No. 17 Marks - 10
Visual Basic forms are identified by a:
Options
“.frm” suffix
“.mak” suffix
“.for” suffix
A special icon
Question No. 18 Marks - 10
To run an application in Visual Basic:
Options
Click on the start button (blue arrow)
Use the File Menu
Use the Project Menu to select Run
None of the above
Question No. 19 Marks - 10
To exit Visual Basic:
Options
Click Alt-Q
Use the File Menu to select Quit
Use the Window Menu to select Exit
Click on the diskette icon
Question No. 20 Marks - 10
The reference library of Visual Basic books is called:
Options
MSDN Library
Help Library
Contents
Topic pane
Question No. 21 Marks - 10
A statement that cannot execute properly in a VB project is a result of a…?
Options
Syntax Error
Logic Error
Compile Error
Run-time Error
Question No. 22 Marks - 10
What version of Visual Basic have you been working with in your labs on this course?
Options
The Enterprise Edition
The Learning Edition
The Licensed Edition
None of the above
Question No. 23 Marks - 10
In an If statement, when the condition is true?
Options
only the Else clause is executed
only the ElseIf clause is executed
only the End If statement is executed
only the Then clause is executed
Question No. 24 Marks - 10
The text property of a text box behaves like a?
Options
string
numeric
variant
unction
Question No. 25 Marks - 10
A textbox is an example of which of the following?
Options
Property
Method
Event
Control
Question No. 26 Marks - 10
Checking to verify that appropriate values have been entered for a text box is called:?
Options
validation
an Input Box
a MsgBox
a watch expression
Question No. 27 Marks - 10
Where the statement should: Dim mstrAccntNumber As String; appear if you plan to use mstrAccntNumber in more than one procedure?
Options
The general declarations section of a form
The Form_Load procedure
The event procedure where mstrAccntNumber will be used
The Global Constants file
Question No. 28 Marks - 10
Which operator(s) has (have) the highest order of precedence in arithmetic expressions?
Options
multiplication and division
addition and subtraction
exponentiation
operators are not significant, all calculations are evaluated from left to right.
Question No. 29 Marks - 10
Variables declared within a Click-event procedure are _____ variables.
Options
general
module-level
global
local
Question No. 30 Marks - 10
When you declare a variable or a named constant, Visual Basic reserves an area of memory and assigns it a name called a(n)?
Options
dimension
identity
declaration
identifier
Question No. 31 Marks - 10
Image controls hold a graphic, which is assigned to the?
Options
image property
text property
picture property
caption property
Question No. 32 Marks - 10
How many bytes of memory will the number 50000 consume if it is declared as a variant?
Options
13
14
15
16
Question No. 33 Marks - 10
In order to feel confident that all of the files that belong to a Visual Basic project remain together when the project is copied or moved to another disk, you should:?
Options
use separate floppy disks for each project file.
save all of the project files together in the same folder on your disk.
use the same name for all of the objects in a project.
use remarks in the general declarations section of your project and list all of the files in the project.
Question No. 34 Marks - 10
When you write a Visual Basic program, you follow a three-step process which should begin with?
Options
Setting the properties
Coding all of the remark statements
Defining the user interface
Declaring the variables
Question No. 35 Marks - 10
The code that is used in a sub procedure to stop execution of a program is?
Options
Exit
End With
End
End Sub
Question No. 36 Marks - 10
If you encounter a run-time error or you pause the program execution, you are in:?
Options
compile time
break time
run time
design time
Question No. 37 Marks - 10
Which one of the following is the correct syntax to make a control called Pic1 visible?
Options
Pic1.Visible = True
Visible.Pic1 = True
Pic1.Invisible = False
Pic1.Enabled = True
Question No. 38 Marks - 10
How many options can be selected if a Frame contains 4 Option buttons?
Options
1
2
3
0
Question No. 39 Marks - 10
Producing erroneous results in a VB project is a result of a…?
Options
Syntax Error
Logic Error
Compile Error
Run-time Error
Question No. 40 Marks - 10
Which function is used to check if data entered is in a numeric form before further processing?
Options
Val function
CInt function
UCase function
IsNumeric function