0% found this document useful (0 votes)
23 views

Fundamentals of Computer Programming Using

This document provides an overview of fundamentals of computer programming using VB.NET. It defines what a computer is, how it performs computations via input, processing, and output. It discusses programming terminology like syntax, variables, data types, and algorithms. It also explains what computers understand at the lowest levels like binary code, machine language, data representation with different data types, and logic gates. Higher-level programming languages are compiled or interpreted so computers can understand them. A flowchart is presented as a visual way to represent algorithms and programs. Requirements and interface for Visual Studio and programming with Visual Basic .NET are also outlined.

Uploaded by

jairus valiente
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Fundamentals of Computer Programming Using

This document provides an overview of fundamentals of computer programming using VB.NET. It defines what a computer is, how it performs computations via input, processing, and output. It discusses programming terminology like syntax, variables, data types, and algorithms. It also explains what computers understand at the lowest levels like binary code, machine language, data representation with different data types, and logic gates. Higher-level programming languages are compiled or interpreted so computers can understand them. A flowchart is presented as a visual way to represent algorithms and programs. Requirements and interface for Visual Studio and programming with Visual Basic .NET are also outlined.

Uploaded by

jairus valiente
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

Fundamentals of Computer

Programming Using
VB.NET
What is computer?
• A computer is defined as any device that can perform mathematical computation.
How modern computer perform computation?
• Computers perform computation by following instructions in
software to process data and produce results.
Input Process Output (IPO) Model

Input Process Output


Terminologies in Programming
• Syntax: Programming rules and structure.
• Variable: Storage for data values.
• Data Type: Classification of data.
• Algorithm: Step-by-step instructions.
• Runtime: Execution time.
What the Computer Understands
Binary Code:
 Computers understand information in the form of binary code, which consists of 0s and 1s.
 Binary code represents data, instructions, and characters as combinations of these two digits.

Machine Language:
 The lowest level of programming language directly understood by the computer's central processing unit (CPU).
 Machine language instructions are in binary format and directly executed by the CPU.
Example
Data Representation:
• Computers represent data using different data types, such as integers, floats, characters, string, and booleans.
• Data representation in binary enables storage and manipulation of data in memory.

Logic Gates:
• The fundamental building blocks of computer circuits.
• Logic gates perform logical operations based on binary inputs to produce binary outputs.
Programming Languages:
• Higher-level programming languages like Python, Java, C++, VB.Net, and others.., are used to write
software.
• Computers understand these languages through a process called compilation or interpretation.

Compiler and Interpreter:


• Compiler translates the entire program into machine code before execution.
• Interpreter translates and executes the program line-by-line in real-time.
Flow chart
A flowchart is a visual representation or diagram that depicts the sequence of steps or actions in
a process or algorithm. It uses various symbols and arrows to illustrate the flow of information,
decisions, and actions within a system, program, or process.
Most commonly used flowchart symbols
Start

Integer A
Integer B What is the sum of 200 + 100?
Integer Ans

A=200
Input Value for A

B=100

Input Value for B

Ans = 200 + 100


Ans = A+B

Ans = 300

Print Ans

End
Programming with Visual Basic dot
Net (VB.net) using Visual Studio
System Requirements
Visual studio Interface
1

3
5
4
3

Major parts
2
1- Toolbox
2-Windows Form
1 3-properties
4- tool bars
5- Menu bar

You might also like