Lesson 1 Flashcards
Why do we need programming?
- Problem Solving
- Automation
- Creativity
- Career Opportunity
Means giving the mechanism the directions to accomplish a task.
Programming
A set of instructions that tells a computer how to
accomplish a task is called a
Computer Program
are written by programmers using a
variety of special languages called
programming languages. Some popular
programming languages are Visual Basic, C#,
C11, and Java.
Progrms
The programmer write
programs using the ______, which is built into Microsoft’s
integrated development environment: Visual
Studio 2017.
Visual Basic PL
an environment that contains all of
the tools and features you need to create,
run, and test your programs.
IDE Integrated Development Environment
is
what the person using your program
(referred to as the user) sees and
interacts with while your program is
running.
GUI
The programmer’s job:
- Programmer is needed when a problem occurs in the company
- Programmer meets either the person that will describe the problem
- Software developer will meet with the user then outline the problem specs for the programmer
- After planning, programmer will translate solution into computer instructions called coding
- Programming teams often contain subject matter
experts, who might or might not be programmers. For
example, an accountant might be part of a team working on
a program that requires accounting expertise.
an object-oriented programming
language, which is a language that allows the
programmer to use objects to accomplish a program’s
goal. In object-oriented programming, or OOP, an object
is anything that can be seen, touched, or used
Visual Basic
Every object in an object-oriented
program is created from a
Class
contains the instructions that tell
the computer how the object should look
and behave.
Class
An object created from a class
is called an
Instance
refers to the creation of self-contained
modules that bind processing functions to the data. These user-
defined data types are called classes. Each class contains data as
well as a set of methods, which manipulate the data
Encapsulation
The data
components of a class are called _______ _______ and one
instance of a class is an object.
Instance Variables
Classes are created according to hierarchies, and
inheritance allows the structure and methods in one class to be
passed down the hierarchy.
Inheritance
Object-oriented programming allows
procedures about objects to be created whose exact
type is not known until runtime.
Polymorphism
BASIC stands for
Beginners’ All-purpose
Symbolic Instruction Code.
quite simply the best
programming language for the novice or hobbyist
to begin creating their own standalone Windows
applications, fast.
Visual Basic (VB)
a derivative of
Visual Basic that can be used for Windows
scripting
Visual Basic Script
– an
implementation of Visual Basic that is built into
all Microsoft Office applications. It runs within a
host, rather than as a standalone application.
Visual Basic for Applications
Visual Basic 1.0 - 14.0 year
- May 1991
- November 1992
- 1993
- August 1995
- February 1997
- 1998
- 2002
- 2005
- 2008
- 2010
- 2012
- 2013
- 2015
Visual Basic was initially a functional or
procedural programming language until the
popular Visual Basic ) 6?Then, Microsoft
transformed Visual Basic into a more powerful
object-oriented programming language by
launching ___, ___,____,_____
Visual Basic.Net, Visual Basic 2005,
Visual Basic 2008, and Visual Basic 2010.
These languages are very close to the machine’s native language (binary code).
•They provide direct access to the computer’s hardware, such as registers and memory locations.
Low-level languages
These languages are more abstract and closer to human language.
•They hide the details of the underlying hardware, making programming easier.
High level
Characteristics of low level
- Difficult for humans to read and write.
•Machine-dependent (code written for one type of computer may not work on another).
•Provide high performance and control over hardware.
•Often used for system programming, device drivers, and embedded systems.
Characteristics of high level
- Easier to learn, write, and debug.
•More portable (code can be run on different platforms with minimal changes).
•Offer features like data structures, objects, and functions that simplify programming.
•Generally used
•High-level languages require a compiler or interpreter to translate them into machine code.
Four windows of vs ide
Designer window
Toolbox window
Solition explorer window
Properties window
This window is where you create (or design) your
application’s GUI. A Windows Form object, or form, appears
in the designer window.
Designer window
____is the foundation for the user interface in an
application created for the Windows environment
Form
to add other objects, called controls, to
the form. Each tool listed in the _____ ______ represents a
class. You add an object by clicking its corresponding tool
(class) in the toolbox and then dragging it with your mouse
pointer to the form.
Toolbox Window
Each object has a set of attributes
that determine its appearance and
behavior. The attributes, called
properties, are listed in the
______ window when the object
is selected in the designer window.
Properties Window
A project is also a container, but it stores only the
files associated with that particular project. The
_______window displays a list of the
projects contained in the current solution and the
items contained in each project.
Solution Explorer