Week 3 Intro to C Flashcards

1
Q

Intro to C

The C programming language is a _______-_______ language, developed at Bell Laboratories in 1972 by _______ Ritchie

A

he C programming language is a structure-oriented language, developed at Bell Laboratories in 1972 by Dennis Ritchie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

C programming language features were derived from an earlier language called “_______” (_______ Combined Programming Language - _______)

A

C programming language features were derived from an earlier language called “B” (Basic Combined Programming Language - BCPL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

C language was invented for implementing _______ operating system

A

C language was invented for implementing UNIX operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In 1978, _______ Ritchie and _______ Kernighan published the first edition “The C Programming Language” and commonly known as K&R C

A

In 1978, Dennis Ritchie and Brian Kernighan published the first edition “The C Programming Language” and commonly known as K&R C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

the _______ standard or “_______ C” was completed late 1988

A

the ANSI standard or “ANSI C” was completed late 1988

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Features of _______ _______ are: Reliability; • Portability; • Flexibility; • Interactivity; • Modularity; and • Efficiency and Effectiveness

A

Features of c language are: Reliability; • Portability; • Flexibility; • Interactivity; • Modularity; and • Efficiency and Effectiveness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

_______ can be used for Database systems; • Graphics packages; • Word processors; • Spreadsheets; • Operating system developmentL Compilers and Assemblers; • Network drivers; and • Interpreters

A

C language can be used for Database systems; • Graphics packages; • Word processors; • Spreadsheets; • Operating system developmentL Compilers and Assemblers; • Network drivers; and • Interpreters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

_______ 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++

A

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++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

_______ level languages provide almost everything that the programmer might need to do as already built into the language. Example: Java, Python

A

High level languages provide almost everything that the programmer might need to do as already built into the language. Example: Java, Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

_______ level languages provide nothing other than access to the machines basic instruction set. Example: Assemble

A

Low level languages provide nothing other than access to the machines basic instruction set. Example: Assemble

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_______ 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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_______ 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)

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

_______.h – input and output functions.

A

stdio.h – input and output functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

_______.h – console input and output functions.

A

conio.h – console input and output functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

_______.h – character handling functions

A

ctype.h – character handling functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

_______.h – mathematics functions

A

math.h – mathematics functions

17
Q

_______.h – string functions

A

string.h – string functions

18
Q

_______.h – date and time functions

A

time.h – date and time functions

19
Q

C programming is a _______ sensitive programming language.

A

C programming is a case sensitive programming language.

20
Q

printf() command is used to print the _______ onto the screen.

A

printf() command is used to print the output onto the screen.

21
Q

Each C programming statement is _______ with semicolon (;) which are referred as statement terminator.

A

Each C programming statement is ended with semicolon (;) which are referred as statement terminator.

22
Q

C programs are compiled using C _______ and displays _______ when executed.

A

C programs are compiled using C compilers and displays output when executed.