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
Q

The figure on this presentation are examples of selected namespaces

A

FRAMEWORK CLASS LIBRARY(FCL)

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

Contain definition and code for Forms, Modules, Class Modules etc.

A

Object File / .vb

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

This file describes the project and lists the files included in the project.

A

Project File / .vbproj

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

When you design the User Interface (GUI) and writing the code.

A

Design Time

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

When you execute and test the program

A

Run Time

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

When you have Run time errors, and you stop execution

A

Break Time

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

In VB.NET (Visual Basic .NET), the program structure is defined by the organization of code within a project.

True/False

A

True

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

are used to organize code and prevent naming conflicts.

They group related classes, interfaces, and other types.

A

namespace

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

A VB.NET program is typically encapsulated within a ‘Module’ or ‘Class’.

True/False

A

True

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

is a container for functions and subroutines that can be accessed globally within the application.

A

Module

35
Q

is a blueprint for creating objects and contains methods, properties, and events.

A

Class

36
Q

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.

A

Main

37
Q

VB.NET provides structured exception handling using Try, Catch, Finally, and Throw blocks to handle runtime errors.

A

Error Handling

38
Q

Comments are used to document code

A

apostrophe (‘)

39
Q

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.

A

Syntax error

40
Q

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.

A

Runtime error

41
Q

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.

A

Logic errors

42
Q

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.

A

Keywords

43
Q

Defines a subroutine (a method that does not return a value).

A

Sub

44
Q

Defines a function (a method that returns a value).

A

Function

45
Q

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.

A

Identifiers

46
Q

Identifiers are case-insensitive in VB.NET, meaning myVariable and MyVariable are considered the same.

True/False

A

True

47
Q

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.

A

Data type

48
Q

It defines the name of the variable that you assign to store values.

A

VariableName

49
Q

It represents the name of the data type that you assign to a variable.

A

Data type

50
Q

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.

A

Object

51
Q

The main purpose of Visual Basic .NET is to develop windows and web applications.

true/false

A

true

52
Q

The part of these applications that users interact with is known as

A

User interface

53
Q

A graphical user interface or GUI consists of one or more windows.

True/False

A

True

54
Q

is a rectangular area that contains other visual elements such as text and buttons.

A

Windows

55
Q

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

A

True

56
Q

It is an action that takes place within a program

A

Event

57
Q

In order for a control to respond to a specific event, you must write as special type of procedure called an

A

Event Handler

58
Q

Event handlers are also known as event procedures

True/False

A

True

59
Q

is an item in a program that contains data and has the ability to perform actions

A

Object

60
Q

The data an object contains is referred to as properties, or attributes

True/False

A

True

61
Q

The operations/actions that an object can perform are called

A

Methods

62
Q

A method is a special type of ___________ that belongs to an object

A

Procedure

63
Q

It is specific type of object that usually appears in a program’s graphical user interface.

A

Control

64
Q

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.

A

VB controls

65
Q

It is a programming language developed by Microsoft, and it is often used to create Windows-based applications with graphical user interfaces (GUIs).

A

Visual Basic

66
Q

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.

A

Object

67
Q

Its which describe the object

A

Properties

68
Q

It cause an object to do something.

are used to access or manipulate the characteristics of an objector a variable.

A

Methods

69
Q

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.

A

Event

70
Q

It is a value or characteristic held by a Visual Basic object, such as Caption or ForeColor.

A

Property

71
Q

A method is a procedure created as a member of a class and they cause an object to do something.

A

Control Method

72
Q

Control events include click, double click, close, load, resize,etc.

True/Flase

A

True

73
Q

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.

A

Button

74
Q

It is a non-editable text element used to display information or instructions to the user. It does not allow user interaction or input.

A

Label

75
Q

It allows users to enter and edit text.

It is commonly used for user input like names, addresses, or any textual data.

A

Textbox

76
Q

It control provides a dropdown list of items from which users can select one.

It combines the features of a TextBox and a ListBox.

A

ComboBox

77
Q

It displays a list of items that users can select from.

It supports single or multiple selections depending on its configuration.

A

Listbox

78
Q

It allows users to select or deselect an option.

It is typically used for binary choices.

A

Checkbox

79
Q

It allows users to select one option from a group of mutually exclusive options.

RadioButtons are usually used in groups.

A

RadioButton

80
Q

It is used to display images within a form.

It supports various image formats and can be used for displaying static graphics.

A

PictureBox

81
Q

provides a customizable grid for displaying tabular data.

It supports complex data operations like sorting, filtering, and editing.

A

DataGridView

82
Q

allows users to select a date and optionally a time from a calendar control.

A

DateTimePicker

83
Q

It control visually represents the progress of a task.

It is often used to show progress in operations like file downloads or data processing.

A

ProgressBar

84
Q

a menu bar at the top of a form, allowing users to access various application functions through a hierarchical menu system.

A

Menustrip