Week 3 Intro to C Flashcards
Intro to C
The C programming language is a _______-_______ language, developed at Bell Laboratories in 1972 by _______ Ritchie
he C programming language is a structure-oriented language, developed at Bell Laboratories in 1972 by Dennis Ritchie
C programming language features were derived from an earlier language called “_______” (_______ Combined Programming Language - _______)
C programming language features were derived from an earlier language called “B” (Basic Combined Programming Language - BCPL)
C language was invented for implementing _______ operating system
C language was invented for implementing UNIX operating system
In 1978, _______ Ritchie and _______ Kernighan published the first edition “The C Programming Language” and commonly known as K&R C
In 1978, Dennis Ritchie and Brian Kernighan published the first edition “The C Programming Language” and commonly known as K&R C
the _______ standard or “_______ C” was completed late 1988
the ANSI standard or “ANSI C” was completed late 1988
Features of _______ _______ are: Reliability; • Portability; • Flexibility; • Interactivity; • Modularity; and • Efficiency and Effectiveness
Features of c language are: Reliability; • Portability; • Flexibility; • Interactivity; • Modularity; and • Efficiency and Effectiveness
_______ can be used for Database systems; • Graphics packages; • Word processors; • Spreadsheets; • Operating system developmentL Compilers and Assemblers; • Network drivers; and • Interpreters
C language can be used for Database systems; • Graphics packages; • Word processors; • Spreadsheets; • Operating system developmentL Compilers and Assemblers; • Network drivers; and • Interpreters
_______ level languages do not provide all the built-in functions found in _______ level languages, but to provide all building blocks needed to produce the result desired. Examples: C, C++
Middle level languages do not provide all the built-in functions found in high level languages, but to provide all building blocks needed to produce the result desired. Examples: C, C++
_______ level languages provide almost everything that the programmer might need to do as already built into the language. Example: Java, Python
High level languages provide almost everything that the programmer might need to do as already built into the language. Example: Java, Python
_______ level languages provide nothing other than access to the machines basic instruction set. Example: Assemble
Low level languages provide nothing other than access to the machines basic instruction set. Example: Assemble
_______ oriented language:
• In this type of language, large programs are divided into small programs called functions
• Prime focus is on functions and procedures that operate on the data •
• Program structure follows “Top Down Approach”
• Examples: C, Pascal, ALGOL and Modula-2
Structure oriented language:
• In this type of language, large programs are divided into small programs called functions
• Prime focus is on functions and procedures that operate on the data •
• Program structure follows “Top Down Approach”
• Examples: C, Pascal, ALGOL and Modula-2
_______ oriented language:
• In this type of language, programs are divided into objects
• Prime focus is in the data that is being operated and not on the functions or procedures
• Program structure follows “Bottom UP Approach”
• Examples: C++, JAVA and C# (C sharp)
Object oriented language:
• In this type of language, programs are divided into objects
• Prime focus is in the data that is being operated and not on the functions or procedures
• Program structure follows “Bottom UP Approach”
• Examples: C++, JAVA and C# (C sharp)
_______.h – input and output functions.
stdio.h – input and output functions.
_______.h – console input and output functions.
conio.h – console input and output functions.
_______.h – character handling functions
ctype.h – character handling functions