Unit 1: Introduction to Programming in C Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/36

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key concepts, language categories, translator types, C programming basics, data types, and variable scopes from Unit 1.

37 Terms

1
New cards

Programming

The process of designing and developing a set of instructions that enables a computer to perform a particular task efficiently and accurately.

2
New cards

Algorithm

A finite sequence of well-defined and step-by-step instructions used to solve a specific problem or perform a particular task.

3
New cards

Finiteness

A characteristic of an algorithm requiring that it must terminate after a finite number of steps without continuing endlessly.

4
New cards

Definiteness

A characteristic of an algorithm requiring each step to be clear, precise, and unambiguous.

5
New cards

Flowchart

A graphical representation of an algorithm or process using different symbols connected by arrows to show logical flow.

6
New cards

Terminal Symbol

An oval-shaped flowchart symbol used to represent the starting and ending points of a program or process.

7
New cards

Input/Output Symbol

A parallelogram flowchart symbol used for reading input data or displaying output results.

8
New cards

Process Symbol

A rectangle flowchart symbol used for calculations, assignments, or processing operations.

9
New cards

Decision Symbol

A diamond-shaped flowchart symbol used for conditional checking such as true/false or yes/no conditions.

10
New cards

Flow Line

Arrows in a flowchart used to indicate the direction of program execution and sequence of operations.

11
New cards

Connector Symbol

Flowchart symbols used to connect different sections of a flowchart and avoid unnecessary crossing of flow lines.

12
New cards

Pseudocode

An informal and simplified way of representing the logic of a program using plain English statements without following strict syntax rules.

13
New cards

Machine Language

The lowest-level programming language understood directly by computer hardware, consisting only of binary digits (0 and 1).

14
New cards

Assembly Language

A programming language that uses symbolic instructions and mnemonics (such as ADD, SUB, MOV, and JMP) instead of binary codes.

15
New cards

High-Level Language

User-friendly programming languages using English-like statements and mathematical symbols, such as C, C++, Java, Python, and BASIC.

16
New cards

Translators

System software programs that convert source code written in programming languages into machine-readable code.

17
New cards

Compiler

A translator that translates the entire source program into machine language at once and generates an executable file.

18
New cards

Interpreter

A translator that translates and executes a program line by line.

19
New cards

Assembler

A translator program that converts assembly language programs into machine language instructions.

20
New cards

Program Development Life Cycle (PDLC)

A systematic process followed by programmers for developing reliable and efficient software programs.

21
New cards

Dennis Ritchie

The computer scientist who developed the C programming language in 1972 at Bell Laboratories.

22
New cards

Character Set

All valid characters, including alphabets, digits, special symbols, and white spaces, that can be used in a C program.

23
New cards

Tokens

The smallest meaningful units in a C program, including keywords, identifiers, constants, strings, operators, and special symbols.

24
New cards

Keywords

Reserved words in C that have predefined meanings and cannot be used as variable names.

25
New cards

Identifiers

Names given to variables, functions, arrays, and other program elements in a C program.

26
New cards

int

A basic C data type used to store integer values without decimal points.

27
New cards

float

A basic C data type that stores decimal numbers with single precision.

28
New cards

double

A basic C data type that stores large decimal values with double precision and greater accuracy.

29
New cards

char

A basic C data type that stores a single character enclosed in single quotation marks.

30
New cards

void

A C data type that represents the absence of any value.

31
New cards

Constants

Fixed values in a program whose values cannot be changed during program execution.

32
New cards

Variables

Named memory locations used to store data values that may change during program execution.

33
New cards

Local Variables

Variables declared inside functions or blocks that can only be accessed within that function or block and are destroyed when execution ends.

34
New cards

Global Variables

Variables declared outside all functions that can be accessed by all functions throughout the program execution.

35
New cards

Static Variables

Variables that preserve their values between multiple function calls and are initialized only once during program execution.

36
New cards

Register Variables

Variables stored in CPU registers instead of main memory to improve execution speed.

37
New cards

Extern Variables

Global variables declared using the extern keyword to allow access across multiple files or program modules.