CC102 Flashcards

1
Q

is crucial today as it controls devices and bridges the gap between human thinking and machine functioning

A

computer programming

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

enable us to instruct machines.

A

programming language

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

played a pivotal role in creating the first programming language while working with Charles Babbage on the Analytical Engine.

A

ada Lovelace

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

It was designed for scientific and mathematical calculations, and it’s still used today in various applications

A

Fortran 1957-1959

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

who created the Fortran language?

A

John backus

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

is a versatile computer programming language intended for diverse computer systems.
It’s known as COmmon Business Oriented Language and finds applications in various sectors including ATMs, credit card processing, telephone systems, healthcare and government computers, automotive systems, and traffic signals.

A

COBOL (common business oriented language)

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

who developed the COBOL LANGUAGE?

A

Dr. Grace Murray Hopper

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

is a user-friendly computer programming language aimed at enabling non-technical students to work with computers.

It’s short for Beginner’s All-purpose Symbolic Instruction Code. Bill Gates and Paul Allen later adapted BASIC for the Altair 8800, marking Microsoft’s first product.

A

1964 basic (beginner’s all-purpose symbolic instruction code?)

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

basic was developed by

A

John G. Kemeny and Thomas E. Kurtz

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

is a beginner-friendly programming language initially designed for teaching.
It became pivotal in software development for Apple, Microsoft, and Skype during their early stages

A

1970 Pascal

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

who created the pascal?

A

Niklaus Wirth who started but finished by Blaise Pascal

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

initially as a scripting language for text editing to simplify report processing.
Today, Perl is extensively utilized in Linux system administration, web development, and network programming. Major companies like Apple, Nvidia, and Intel also employ Perl in their operations.

A

1987 Perl

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

who created the perl language?

A

larry wall

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

enables various programming styles that are more readable and require fewer code lines compared to other languages.
Its name is inspired by Monty Python. Major platforms like Google, Instagram, and Spotify employ Python for their services.

A

1991 Python

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

who created the python?

A

Guido Von Rossum

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

made by Microsoft, builds on the BASIC programming language. It lets programmers use ready-made code blocks through a point-and-click interface called Graphical User Interface (GUI).
This is handy for making apps like calculators, payrolls, and databases.

A

Visual Basic

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

initially called Oak, a team at Sun Microsystems. It was initially designed for TVs and handheld devices but was improved to work on all types of devices.
JAVA is used to build various things like computer interfaces, mobile apps.

A

1995 Java

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

who created the Java language?

A

James Gosling

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

is a key part of the internet.

It was built to make webpages more dynamic and interactive.

A

Javascript

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

Javascript was made by?

A

Brendan Eich

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

It is used mostly for Web development and is usually runs on Web servers.
It also has capability to connect to a database, making it ideal for creating dynamic webpages. now widely used to build websites and blogs.

A

PHP

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

PHP was created by?

A

Rasmus Lerdorf.

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

language is the most basic language for computers, using only zeros and ones (binary) as instructions.
Computers understand it directly, but it’s tough for humans since we need to remember all those binary codes.

A

Machine Language

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

is a bit more human-friendly than pure machine language.
It uses simple words like “mov,” “add,” “sub,” making it easier to write and read

A

Assembler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
like giving a computer a list of instructions to follow step by step. It's one of the oldest ways of programming
Imperative programming
26
like organizing your code neatly and logically to make it easy to understand. It’s a simplified version of imperative programming focus in clear/organize code
Structure programming
27
like building a recipe for a complex dish by breaking it down into smaller.
Procedural Programming
28
like building a virtual world with different characters and things. Creating characters using blocks called classes and objects.
Object Oriented Programming
29
relates to the name of the mathematician Al-khowarizmi, which means a procedure or a technique. a sequence of steps to solve a particular problem
Algorithm
30
is a type of diagram that represents a workflow or process. It can also be defined as a diagrammatic representation of an algorithm.
Flowchart
31
is an implementation of an algorithm in the form of annotations and informative text written in plain English.
Pseudo Code
32
: An algorithm may or may not require input
input
33
Each instruction must be clear and unambiguous
definite
34
Each algorithm is expected to produce at least one result
output
35
If the instructions of an algorithm are executed, the algorithm should terminate after finite number of steps
Finite
36
give at least 2 advantages of algorithm
Acts as blueprint for coding Assists in debugging Becomes part of software documentation for future reference during maintenance phase
37
statements are placed one after the other and the execution takes place starting from up to down
sequence
38
a condition where a decision of either TRUE or FALSE is achieved. In the case of TRUE, one of the two branches is explored; but in the case of FALSE condition, the other alternative is taken
Branching
39
allows a statement(s) to be executed repeatedly based on certain loop condition.
loop
40
is a programming language based on the C with additional features that support the programming style known as object-oriented programming.
c++
41
is a type of computer program that edits plain text.  
text editor
42
is a computer program that translates computer code in one programming language into another language. The name blank is primarily used for programs that translate source code from a high-level programming language to a lower-level language to create an executable program
compiler
43
is the set of rules that defines the combinations of symbols that are correctly structured statements or expressions in that language.
syntax
44
is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data.
data type
45
are the names you give to computer memory locations which are used to store values in a computer program.
variables
46
is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
operator
47
is a private non-profit organization that oversees the development of voluntary consensus standards for products, services, processes, systems, and personnel in the United States.
American National Standard Institute (ANSI)
48
advantages of C++
close to hardware, clear understanding of OOP, High demand and pay, versatile and widely used, and In-Depth Learning
49
Applications of c++
application software development, programming languages development, games development and imbedded system
50
each individual statement must be ended with a
semicolon
51
is a set of logically connected statements that are surrounded by opening and closing braces
block
52
In this statement, there must be at least one ------- between int and age for the compiler to be able to distinguish them
whitespace
53
datatype
check pdf
54
You can break a long line into multiple lines using------ and separate them using whitespaces.
string laterals
55
C++ library provides the string class which supports various string operations. It is written as
std::string.
56
The + operator can be used between strings to add them together to make a new string
String concatenation
57
C++ uses the + operator for both addition and concatenation
Adding numbers and strings
58
to get the length of a string, use the length() or size() function:
String length
59
is used to print values
cout
60
on the other hand is used to get user input
cin
61
cout is used to print values, cin on the other hand is used to get user input
C++ User Input
62
is a text such as a sequence of character (letters, digits, and other special characters).
string
63
This mainly contains just one character. To store one character in a variable, we use the data type char.
data type char
64
65