Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

DSA notes

Rating
-
Sold
-
Pages
6
Uploaded on
13-05-2023
Written in
2022/2023

You will the basics of programming,you will be able to create flow charts,also try some of the pseudo codes.

Institution
Course

Content preview

Lecture 2: Write Your First
Program in C++
CodeHelp - by Babbar



Hello ji, How Are You?
This is Love Babbar, welcome to
the channel Codehelp. This is the
2nd lecture of our DSA series.
Today we are going to create our
first program. We will see how a
program runs and what does
each line mean. We are going to
understand everything in this
lecture. So let's get started.

Getting Started

We saw in the last lecture that we
create our source code using a
programming language. But we
know that a computer won't
understand our code because it
only knows binary {01) language.

, So, we need something that
translates our source code into
machine understandable
language just like we use a
translator to convert Hindi to
French.



We have a compiler which
converts source code into binary
language, allowing it to be run by
a computer and produce an
output. This is how the
compilation process works .
Essentially, the compiler makes it
possible for us to run a source
code.

Here's an example: let's say we
have a=1, b=2, and we want to do
c=a+b. The computer won't be
able to understand these lines of
code on its own . First, a compiler

Written for

Course

Document information

Uploaded on
May 13, 2023
Number of pages
6
Written in
2022/2023
Type
Class notes
Professor(s)
Babbar
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
meghanay

Get to know the seller

Seller avatar
meghanay Ballari institution of technology and management
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions