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

C Programming Introduction

The document provides an outline of key facts learned from videos about C programming and low-level vs high-level languages. It discusses that C programming requires logical thinking and understanding how programming languages work. It also notes that programs are sets of instructions that computers execute to perform tasks, and that C was developed in 1972 and is widely used. Additionally, it outlines that low-level languages like machine language are hardware-dependent while high-level languages are hardware-independent and easier for humans to write.

Uploaded by

Jocel Montera
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

C Programming Introduction

The document provides an outline of key facts learned from videos about C programming and low-level vs high-level languages. It discusses that C programming requires logical thinking and understanding how programming languages work. It also notes that programs are sets of instructions that computers execute to perform tasks, and that C was developed in 1972 and is widely used. Additionally, it outlines that low-level languages like machine language are hardware-dependent while high-level languages are hardware-independent and easier for humans to write.

Uploaded by

Jocel Montera
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

GEELECIT - ASSIGNMENT #3

Montera, Jocel O. BS Psychology 2B

Introduction to C Programming

1. What are the basic skills you need in order to understand C Programming?

 Willing and always ready to learn

 Logical and Mindfulness

 proficient knowledge and understanding on how programming languages works

2. Make an outline for the facts that you have learned from this video.

- A computer will perform a task through write a sequence of instructions and give it
to computer and it's called Programs.

- Programs is a set or sequence of instructions

- If you write letters, computer will not understand because computer can understand
only 0 and 1.

- Computer cannot do anything without programs because it's run by programs.

• System Programs

- manages the system resources and hardware

• Application Programs/Softwares

-used to perform a task such as web browser and text editor

--> to write a programs, you need to learn programming languages.

- CPU (Central Processing Unit) - is the heart of computer.


- the task that we want to perform on computer like calculation or computation is
going to be performed by CPU since it gives output.

• C Language

- developed by Dennis Ritchie in 1972


- a successor of B language
- it is a system programming language and it is the most popular programming
language
- it was the most widely used programming language during 1980's
- many softwares have been written in C language such as android's core library, part
of web browser, device drivers, and Unix operating system
- in 1989, it was standardized by ANSI

- C program --> compiler --> object code

Interpreter - main task is to convert the program, high level program into object code
-- > computer will understand program, first that program must be converted to
machine code, 0 & 1 and CPU will execute task.

Low level vs High level Languages | Machine and Assembly Language |


Programming in C Programming

1. Differentiate the Low level Language to High Level Language.

- Low level language is machine dependent as it is understood easily by a computer


system. However, the knowledge of hardware is necessary and it's difficult for a
programmer to write and understand the language. Meanwhile, High level language
is machine independent and knowledge of hardware is not required. It's convenient
for programmer since it's closer to language, yet, machines can't interpret it directly.

2. Make an outline for the facts that learned from this video.

• Low level Language

1. Machine Language
- close to hardware
- it's machine oriented
- a broad knowledge of the configuration and architecture of computer system
and architecture of CPU is much needed to be able to write a program in machine
language
- CPU/Processor is responsible to do the task and then get the output
- architecture of CPU's are different.
- machine languag is dependent on computer architecture
- to write any programming machine code, the knowledge of specification and
architecture of process is required like writing instruction in 20 or 32 bites

2. Assembly Language
- can use numbers and symbols and it's called Nimonics
- to write “+”, just write “ADD”
- readable by humans
- strong binding with machine language
- for each instruction written in machine langu, it is 1 to 1 correspondence with
machine code
- there's a program (ADD, SUB, Move) written in assembly language, the first
task to be converted into machine code and It's converted by Assembler.
- Assembler will generate a machine code corresponding to this program
- dependent on machine or computer architecture
- every assemly language is designed specifically for a specific computer
architecture
- hardware --> machine language --> assembly language

• High level Language

- operating system dependent and not machine dependent on program written


- it's close and understandable by humans
- deals with functions and can evaluate mathematical expressions, notations,
and alphabet
- hardware --> machine language, assembly language, high level language

You might also like