MODULE 3 - INTRODUCTION TO COMPUTER PROGRAMMING

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

computer programmers write code to solve problems or perform a task.

True

computer program

a software program, or just a program is a sequence of instructions written to perform a specified task for a computer.

Computer programming

a way of giving computers instructions about what they should do next.

•Compiler

all statements are translated and stored as an executable program

Machine language programs

also called executables

Procedural

available instructions are used to create self contained units called procedures.

opcode

Instruction part is also called as

Source code

Is specially designed to facilitate the work of computer programmers.

• Use of previously written code • Use of code provided by the compiler • Modular design of the program (for reusability of components)

Large C++ programs may be stored in two or more separate program files due to:

Debug and Test

Locate and remove any errors in the program.

Complete the Documentation

Organize all the materials that describe the program.

Design

Plan the solution to the problem.

Analyze, design, choose the interface, code, debug and test, and complete the documentation.

Program Development Cycle

softwares

Programs are also called as

procedural and object-oriented.

Programs can also be classified by their orientation:

Choose the Interface

Select the objects

program

The ____________ has an executable form that the computer can use directly to execute the instructions.

writing source code

The process of ________ often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

purpose of programming

To create a program that exhibits a certain desired behavior.

Code

Translate the algorithm into a programming language.

Instructions from computer programmers are also known as code.

True

source code

can be automatically translated to binary machine code that the computer can directly read and execute.

Linker

combines all of the compiled code required for the program.

Machine language programs

consist of binary instructions.

Interpreter

each statement is translated individually and executed immediately after translation

Java, C++, C#, Python, PHP, JavaScript, Ruby, Perl, Objective-C, Dart, Swift, Scala.

example of Object-oriented

Visual Basic, C, C#, C++, Java, Python, Swift, Ruby, Kotlin, R, Perl, Objective-C, Rust, Julia and etc.

examples of high-level languages

machine language, assembly language

examples of low-level languages

object program

executable program

High-level languages

instructions resemble written languages, such as English and can be run on a variety of computer types

Low-level languages

languages that use instructions tied directly to one type of computer

Assembly language programs

must be translated into machine instructions, using an assembler.

Computer programming

often shortened to programming or coding is the process of designing, writing, testing, debugging/ troubleshooting, and maintaining the source code of computer programs.

Assembly Language

programming language with symbolic names for opcodes, and decimals or labels for memory addresses.

Object-oriented

reusable objects, containing code and data, are manipulated

Program

self-contained set of instructions used to operate a computer to produce a specific result

Instruction part

the operation to be performed.

Programming

the process of writing a program, or software

Source code

the programs written in a high- or low-level language

Writing in machine language is tedious!

true

Instruction part and address part

two parts of an instruction

interpreter/compiler

two ways to translate source code to machine language.

computer programmers

who specify the actions to be performed by a computer mostly by writing source code

source code

written in a programming language.

FORTRAN, ALGOL, COBOL, BASIC, Pascal, C

Example of Procedural

Source code

A text written in a computer programming language.

programs

A computer requires __________to function, typically executing the program's instructions in a central processor.

machine language

Each class of computer has its own particular_______.

Analyze

Define the problem.


संबंधित स्टडी सेट्स

Lean Six Sigma Yellow Belt Flash Cards

View Set

WC Exam 2 Study Guide (Look at once a day)

View Set

Psychology of Aging Midterm (Chapters 1-6)

View Set

Modules 1 and 2 - Descriptive and Inferential Statistics

View Set