Introduction to Visual Basic (VB)

FlatterCaesura avatar
FlatterCaesura
·
·
Download

Start Quiz

Study Flashcards

12 Questions

What does BASIC stand for?

Beginner's All-purpose Symbolic Instruction Code

Which programming language was developed by Microsoft to create applications for Windows operating systems?

Visual Basic

What concept did Visual Basic introduce in programming?

Event-driven programming

What is the purpose of a GUI in computing?

To easily operate computers using a pointing device

What is the role of a 'control' in Visual Basic?

Create objects on a form

How do event-driven programs in Visual Basic differ from procedural programs?

Event-driven programs wait for events to occur

What is a method in a program?

A special statement that performs an action for an object

What is inheritance in object-oriented programming?

Organizing objects into classes based on characteristics

What does encapsulation refer to in programming?

Hiding implementation details of an object from its user

When are properties typically set in a program?

At design time using the Properties window

What does an event procedure do in a program?

Evaluate and set properties of an object

What does a program statement do in programming?

Do the work of the program

Study Notes

Programming Fundamentals

  • BASIC stands for Beginner's All-purpose Symbolic Instruction Code.

Visual Basic

  • Visual Basic was developed by Microsoft to create applications for Windows operating systems.

Programming Concepts

  • Visual Basic introduced the concept of event-driven programming in which programs respond to user interactions.
  • A GUI (Graphical User Interface) in computing allows users to interact with a program using visual elements such as buttons, menus, and windows.

Visual Basic Controls

  • In Visual Basic, a 'control' is a graphical element, such as a button or text box, that users interact with to provide input or receive output.

Programming Paradigms

  • Event-driven programs in Visual Basic differ from procedural programs in that they respond to user interactions, whereas procedural programs execute a sequence of instructions.
  • A method in a program is a block of code that performs a specific task.

Object-Oriented Programming

  • Inheritance in object-oriented programming allows a new class to inherit the properties and behavior of an existing class.
  • Encapsulation in programming refers to the bundling of data and methods that operate on that data within a single unit, such as a class or object.

Program Execution

  • Properties are typically set in a program when an object is created or when the user interacts with the program.
  • An event procedure is a block of code that is executed in response to a user interaction, such as a button click.
  • A program statement is a single instruction that is executed by the program, such as assigning a value to a variable.

Learn about the high-level programming language Visual Basic (VB) which evolved from the earlier DOS version called BASIC. Understand the event-driven programming model, object-oriented concepts, and its evolution by Microsoft. Explore the origins of BASIC and its development by John Kemeny and Thomas Kurtz.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser