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
Q

like giving a computer a list of instructions to follow step by step.
It’s one of the oldest ways of programming

A

Imperative programming

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

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

A

Structure programming

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

like building a recipe for a complex dish
by breaking it down into smaller.

A

Procedural Programming

28
Q

like building a virtual world with different characters and things. Creating characters using blocks called classes and objects.

A

Object Oriented Programming

29
Q

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

A

Algorithm

30
Q

is a type of diagram that represents a workflow or process. It can also be defined as a diagrammatic representation of an algorithm.

A

Flowchart

31
Q

is an implementation of an algorithm in the form of annotations and informative text written in plain English.

A

Pseudo Code

32
Q

: An algorithm may or may not require input

A

input

33
Q

Each instruction must be clear and unambiguous

A

definite

34
Q

Each algorithm is expected to produce at least one result

A

output

35
Q

If the instructions of an algorithm are executed, the algorithm should terminate after finite number of steps

A

Finite

36
Q

give at least 2 advantages of algorithm

A

Acts as blueprint for coding
Assists in debugging
Becomes part of software documentation for future reference during maintenance phase

37
Q

statements are placed one after the other and the execution takes place starting from up to down

A

sequence

38
Q

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

A

Branching

39
Q

allows a statement(s) to be executed repeatedly based on certain loop condition.

A

loop

40
Q

is a programming language based on the C with additional features that support the programming style known as object-oriented programming.

A

c++

41
Q

is a type of computer program that edits plain text.

A

text editor

42
Q

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

A

compiler

43
Q

is the set of rules that defines the combinations of symbols that are correctly structured statements or expressions in that language.

A

syntax

44
Q

is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data.

A

data type

45
Q

are the names you give to computer memory locations which are used to store values in a computer program.

A

variables

46
Q

is a symbol that tells the compiler to perform specific mathematical or logical manipulations.

A

operator

47
Q

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.

A

American National Standard Institute (ANSI)

48
Q

advantages of C++

A

close to hardware, clear understanding of OOP, High demand and pay, versatile and widely used, and In-Depth Learning

49
Q

Applications of c++

A

application software development, programming languages development, games development and imbedded system

50
Q

each individual statement must be ended with a

A

semicolon

51
Q

is a set of logically connected statements that are surrounded by opening and closing braces

A

block

52
Q

In this statement, there must be at least one ——- between int and age for the compiler to be able to distinguish them

A

whitespace

53
Q

datatype

A

check pdf

54
Q

You can break a long line into multiple lines using—— and separate them using whitespaces.

A

string laterals

55
Q

C++ library provides the string class which supports various string operations. It is written as

A

std::string.

56
Q

The + operator can be used between strings to add them together to make a new string

A

String concatenation

57
Q

C++ uses the + operator for both addition and concatenation

A

Adding numbers and strings

58
Q

to get the length of a string, use the length() or size() function:

A

String length

59
Q

is used to print values

A

cout

60
Q

on the other hand is used to get user input

A

cin

61
Q

cout is used to print values, cin on the other hand is used to get user input

A

C++ User Input

62
Q

is a text such as a sequence of character (letters, digits, and other special characters).

A

string

63
Q

This mainly contains just one character.
To store one character in a variable, we use the data type char.

A

data type char

64
Q
A
65
Q
A