Reviewer For Programming PDF
Document Details
Uploaded by Deleted User
Tags
Summary
This document provides an overview of programming concepts, focusing on introductory Python programming and related topics. It details programming languages, their levels, and basic goals.
Full Transcript
Reviewer For Programming I. Intro-To-Python What is computer program? - A program is a set of instructions that tell a computer how to do a task. When a computer follows the instructions in a program, we say it executes the program. What is programming language? - A se...
Reviewer For Programming I. Intro-To-Python What is computer program? - A program is a set of instructions that tell a computer how to do a task. When a computer follows the instructions in a program, we say it executes the program. What is programming language? - A set of rules, symbols, and special words used to produce various kinds of output. Levels of programming languages - Programming languages are described in levels. Low-level programming is close to machine code, high-level programming is closer to natural languages. At the most basic level (or "lowest level") is assembly language. This language is just a direct translation of the binary instructions the computer executes—each assembly language instruction directly relates to one in machine code. Thus just as every kind of processor architecture has its own machine code, each processor architecture also has its own assembly language. Basic goals of computer programming - Utility Ensure your program effectively and fulfils the need it is addressing. - Usability Ensure that people can easily use your program without a major time investment. - Maintainability Ensure that it is easy to understand, fix, and improve your program without a major time investment. Python was originally conceptualized by Guido van Rossum in the late 1980s as a member of the National Research Institute of Mathematics and Computer Science. Python 0.9.0 was first released in 1991. In 2000, Python 2.0 was released Python 3.0 was the next version and was released in December of 2008 An Integrated Development Environment (IDE) - is a software application that provides comprehensive facilities to computer programmers for software development. Source Code Editor - Is a text editor program designed specifically for editing source code of computer programs by programmers. Compiler or Interpreter - A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program. Debugger - Debugger or debugging tool is a computer program that is used to test and debug other programs (the "target" program). Build Automation Tools - Build automation is the act of scripting or automating a wide variety of tasks that software developers do in their day-to-day activities including things like: packaging binary code running tests deployment to production systems creating documentation and/or release notes In Python: print(‘Hello world!’) In Pascal : program HelloWorld; begin writeln(‘Hello World’); end. In C++: #include int main() { cout