0% found this document useful (0 votes)
63 views13 pages

Coding For Beginners - 11!09!2021

This document provides an introduction to coding for beginners. It discusses why coding could be useful for management students by developing problem solving and logical skills. The benefits of learning coding include career flexibility and the ability to boost critical thinking. It then demonstrates how to swap the values of two variables using temporary variables or addition and subtraction. Finally, it discusses different programming languages like C and C++ and how compilers and interpreters work.

Uploaded by

iiidddkkk 230
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views13 pages

Coding For Beginners - 11!09!2021

This document provides an introduction to coding for beginners. It discusses why coding could be useful for management students by developing problem solving and logical skills. The benefits of learning coding include career flexibility and the ability to boost critical thinking. It then demonstrates how to swap the values of two variables using temporary variables or addition and subtraction. Finally, it discusses different programming languages like C and C++ and how compilers and interpreters work.

Uploaded by

iiidddkkk 230
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

CODING FOR BEGINNERS

SESSION 1 - INTRODUCTION
CODING FOR A MANAGEMENT STUDENT?

• It is for technical students


• Programming related jobs
BENEFITS OF LEARNING CODING

• Develop Problem-Solving and Logical Skill


• Coding ability gives new perspective to problem-solving
• Learning to code offers career flexibility
• Coding can be useful in jobs you might not expect
• Coding boosts your critical thinking
• It helps you stay grounded when making decisions—even when the business is
operating under pressure
PROBLEM

• For example, A = 5 , B = 4 (swap the values of these two


variables)
• Just write A = 4 and B = 5
SOLUTION - 1

• Take a temporary variable ‘C’


•C=A
•A=B
•B=C
SOLUTION 2

•A=A+B (5 + 4 = 9)
•B=A–B (9 – 4 = 5)
•A=A–B (9 – 5 = 4)
WHICH PROGRAMMING LANGUAGE SHOULD I
LEARN?
WHY C OR C++

• C is a Middle-Level Language
• Helps to understand the fundamentals of Computer Theories
• Fewer Libraries
• C is very fast in terms of execution time
• Embedded Programming
WHAT IS PROGRAMMING LANGUAGE?

• A programming language is the set of instructions through which humans interact with
computers
• High level programming language:
• Languages that programmers use to write code are called "high-level languages“
• Java, Python, Ruby etc.
• Low level programming language
• High level code can be compiled into a "low-level language," which is recognized directly by
the computer hardware
• Machine language, Assembly language
MACHINE LANGUAGE

• computers only understand one language - machine language


• Machine language is entirely made up of binary bits, or 0s and 1s
• Machine language for a program or action can differ by operating system
• All programs and programming languages eventually generate or run
programs in machine language
ASSEMBLY LANGUAGE

• Assembly language is low-level programming language


• There is a very strong correspondence between the instructions in the language and
the architecture's machine code instructions
• every assembly language is designed for exactly one specific computer architecture
• Assembly code is converted into executable machine code by a utility program
referred to as an assembler
• Each assembly language is specific to a particular computer architecture and
sometimes to an operating system
COMPILER AND INTERPRETER
INSTALL TURBO C++ EDITOR

• https://turboc.me/download-turbo-c-file/

You might also like