ITEC81 QUIZ 2 Flashcards

1
Q

VB.NET stands for?

A

Visual Basic. Network Enabled Technologies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is a simple, high-level, object- oriented programming language developed by Microsoft in 2002.

It is a successor of Visual Basic 6.0, that is implemented on the Microsoft.NET framework.

It supports the OOPs concept, such as abstraction, encapsulation, inheritance, and polymorphism.

Everything in the VB.NET language is an object, including all primitive data types (Integer, String, char, long, short, Boolean, etc.), user-defined data types, events, and all objects that inherit from its base class.

A

VB.NET programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is a simple, multi- paradigm object-oriented programming language designed to create a wide range of Windows, Web, and mobile applications built on the.NET Framework

A

VB.NET

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

It is an object-oriented programming language that follows various oops concepts such as abstraction, encapsulation, inheritance, and many more.

A

VB.NET / Features of VB.NET programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

It means that everything in VB.NET programming will be treated as an object.

This language is used to design user interfaces for window, mobile, and web- based applications.

A

VB.NET

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

It supports Boolean condition for decision making in programming.

true/false

A

VB.NET - true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It uses an external object as a reference that can be used in a VB.NET application.

• Automatic initialized a garbage collection.

• It follows a structured and extensible programming language for error detection and recovery.

• Conditional compilation and easy to use generic classes.

It is useful to develop web, window, and mobile applications.

A

VB.NET features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

VB.NET is designed to be user- friendly and easy to learn, making it accessible for beginners. Its syntax is straightforward and resembles natural language.

A

Ease of Use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

VB.NET supports drag-and-drop functionality in the Visual Studio IDE, which speeds up the development of desktop and web applications by reducing the amount of manual coding required.

A

RAPID APPLICATION DEVELOPMENT (RAD)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

It fully supports OOP principles such as inheritance, encapsulation, and polymorphism, promoting code reuse and better organization.

A

OBJECT-ORIENTED PROGRAMMING (OOP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

While traditionally associated with Windows, VB.NET applications can also be run on other platforms, such as Linux and macOS, using tools like .NET Core or .NET 5/6.

A

CROSS-PLATFORM DEVELOPMENT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The.NET runtime environment and garbage collection can introduce performance overheads compared to lower-level languages like C++.

A

PERFORMANCE OVERHEADS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Despite improvements, VB.NET’s cross-platform support is still less mature compared to languages like C# or Java, which can limit its use in non-Windows environments.

A

LIMITED CROSS-PLATFORM SUPPORT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

VB.NET is not suited for low-level system programming or applications requiring direct hardware interaction, as it abstracts many of these details away.

True/False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

VB.NET inherits some of the negative perceptions associated with its predecessor, Visual Basic 6.0, such as being considered less powerful or modern compared to hewer languages.

True/False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

is a software development platform that was introduced by Microsoft in the late 1990

A

The.NET Framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The.NET Framework is a software development platform that was introduced by Microsoft in the late ____

A

1990

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

It is a virtual machine that provide a common platform to run an application that was built using the different language such as C#, VB.NET, Visual Basic, etc.

It is also used to create a form based, console- based, mobile and web-based application or services that are available in Microsoft environment

A

.NET FRAMEWORK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Connect files from .NET compilers, translate to executable file and manage the execution.

A

COMMON LANGUAGE RUNTIME (CLR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

defines .NET standard data type for all .NET programming languages

A

Common Type System (CTS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

define rules for language interoperability such as naming, data type definition

A

Common Language Specification (CLS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

translates IL(Intermediate Language) into executable, processor specific machine language

A

Just-In Time Compiler (JIC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

• FCL consist of approx. 100 assemblies each with one or more classes

• Each class has methods that you invoke to perform a task

• Classes are organized logically into namespaces

• Use import statement to tell the compiler the specific namespace to access

A

FRAMEWORK CLASS LIBRARY(FCL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Classes are organized logically into namespaces

True/False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The figure on this presentation are examples of selected namespaces
FRAMEWORK CLASS LIBRARY(FCL)
26
Contain definition and code for Forms, Modules, Class Modules etc.
Object File / .vb
27
This file describes the project and lists the files included in the project.
Project File / .vbproj
28
When you design the User Interface (GUI) and writing the code.
Design Time
29
When you execute and test the program
Run Time
30
When you have Run time errors, and you stop execution
Break Time
31
In VB.NET (Visual Basic .NET), the program structure is defined by the organization of code within a project. True/False
True
32
are used to organize code and prevent naming conflicts. They group related classes, interfaces, and other types.
namespace
33
A VB.NET program is typically encapsulated within a 'Module' or 'Class'. True/False
True
34
is a container for functions and subroutines that can be accessed globally within the application.
Module
35
is a blueprint for creating objects and contains methods, properties, and events.
Class
36
method is the entry point of a VB.NET application. It is where the program begins execution. you write the actual code to perform tasks. This includes declarations, assignments, loops, conditionals, and method calls.
Main
37
VB.NET provides structured exception handling using Try, Catch, Finally, and Throw blocks to handle runtime errors.
Error Handling
38
Comments are used to document code
apostrophe (')
39
These are errors in the code that violate the rules of the programming language's syntax. They occur when the code doesn't conform to the grammar or structure expected by by the compiler or interpreter.
Syntax error
40
These errors occur during the execution of the program, after it has successfully.compiled. They are often due to invalid operations, such as dividing by zero, accessing an array out of bounds, or attempting to use a null reference.
Runtime error
41
These errors occur when the program compiles and runs without crashing but produces incorrect results. Due to flaws in the algorithm or design, leading the program to behave in unintended ways.
Logic errors
42
are reserved words that have special meaning in VB.NET. They are part of the language's syntax and cannot be used as identifiers (like variable names, function names, etc.). are predefined and used to perform specific operations or define the structure and behavior of the code.
Keywords
43
Defines a subroutine (a method that does not return a value).
Sub
44
Defines a function (a method that returns a value).
Function
45
are names given to various elements in a program, such as variables, methods, classes, objects, and namespaces. They are user-defined names and must adhere to specific naming rules. Unlike keywords, identifiers are not reserved words and can be chosen by the programmer.
Identifiers
46
Identifiers are case-insensitive in VB.NET, meaning myVariable and MyVariable are considered the same. True/False
True
47
refers to which type of data or value is assigning to a variable or function so that a variable can hold a defined data type value.
Data type
48
It defines the name of the variable that you assign to store values.
VariableName
49
It represents the name of the data type that you assign to a variable.
Data type
50
It is the default type of the variable. It means if you don't declare the variable then the default Data Type for that variable is object.
Object
51
The main purpose of Visual Basic .NET is to develop windows and web applications. true/false
true
52
The part of these applications that users interact with is known as
User interface
53
A graphical user interface or GUI consists of one or more windows. True/False
True
54
is a rectangular area that contains other visual elements such as text and buttons.
Windows
55
The Visual Studio integrated development environment (IDE) includes all the tools you need fo create a Windows Forms app with several visual elements. True/False
True
56
It is an action that takes place within a program
Event
57
In order for a control to respond to a specific event, you must write as special type of procedure called an
Event Handler
58
Event handlers are also known as event procedures True/False
True
59
is an item in a program that contains data and has the ability to perform actions
Object
60
The data an object contains is referred to as properties, or attributes True/False
True
61
The operations/actions that an object can perform are called
Methods
62
A method is a special type of ___________ that belongs to an object
Procedure
63
It is specific type of object that usually appears in a program's graphical user interface.
Control
64
It is typically used to create user interface elements or widgets in applications developed using the Visual Basic (VB) programming language or a related technology. are elements that allow users to interact with the application.
VB controls
65
It is a programming language developed by Microsoft, and it is often used to create Windows-based applications with graphical user interfaces (GUIs).
Visual Basic
66
It is a type of user interface element you create on a Visual Basic form by using a toolbox control. In fact, in Visual Basic, the form itself is an object.
Object
67
Its which describe the object
Properties
68
It cause an object to do something. are used to access or manipulate the characteristics of an objector a variable.
Methods
69
are what happens when an object does something. It is a signal that informs an application that something important has occurred. When an event is initiated, procedure called that handles the event.
Event
70
It is a value or characteristic held by a Visual Basic object, such as Caption or ForeColor.
Property
71
A method is a procedure created as a member of a class and they cause an object to do something.
Control Method
72
Control events include click, double click, close, load, resize,etc. True/Flase
True
73
It is an interactive element that users can click to trigger an event or action. It typically represents an action like submitting data, opening a dialog, or performing a specific function.
Button
74
It is a non-editable text element used to display information or instructions to the user. It does not allow user interaction or input.
Label
75
It allows users to enter and edit text. It is commonly used for user input like names, addresses, or any textual data.
Textbox
76
It control provides a dropdown list of items from which users can select one. It combines the features of a TextBox and a ListBox.
ComboBox
77
It displays a list of items that users can select from. It supports single or multiple selections depending on its configuration.
Listbox
78
It allows users to select or deselect an option. It is typically used for binary choices.
Checkbox
79
It allows users to select one option from a group of mutually exclusive options. RadioButtons are usually used in groups.
RadioButton
80
It is used to display images within a form. It supports various image formats and can be used for displaying static graphics.
PictureBox
81
provides a customizable grid for displaying tabular data. It supports complex data operations like sorting, filtering, and editing.
DataGridView
82
allows users to select a date and optionally a time from a calendar control.
DateTimePicker
83
It control visually represents the progress of a task. It is often used to show progress in operations like file downloads or data processing.
ProgressBar
84
a menu bar at the top of a form, allowing users to access various application functions through a hierarchical menu system.
Menustrip