Lecture I Flashcards

1
Q

Who developed C++

A

Bjarne Stroustrup

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

When did he develop it

A

1983

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

C++ was improved on C by adding a number of new features. What was the most important feature?

A

Classes

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

Who were the people who created Java

A

JP - MEC

James Gosling
Patrick Naughton

Mike Sheridan
Ed Frank
Chris Warth

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

Where the creators of Java work at

A

Sun Microsystems

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

When did they create Java initially, when was it renamed and what name was it before

A

Initially: 1991
Old name : Oak
Renamed in : 1995

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

Why was Java necessary?

A

Because java was necessary C and C++ were not platform independent as their programs have to be compiled for particular hardware before execution.

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

Mention some application of C++

A

Apple OS
Windows 95, 98, XP, ME, 200 are written in C++
Visual Stuido code
Microsoft Office.
Google search engine

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

What is Obeject Oriented Programming

A

OOP is a programming approach based on objects

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

Classifications of Data types in C++

A

Built-in types
User-defined types
Derived-types

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

Classifications of Data types in C++

A

Built-in types
User-defined types
Derived-types

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

Mention some character types

A

Char
char16_t
char32_t

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

What is a statement

A

A statement is an executable line of code

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

What is a compound/block statement

A

This is a group of zero or more statements that is treated by the compiler as if it were a single statement. it begins with a ‘{‘ and ends with a ‘}’

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

What is a global variable

A

A global variable is a variable that is declared outside the main or any function and can be accessed from anywhere in the code or program.

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

What is a Local variable

A

A local variable is variable that is declared inside the main or any function and can be accessed from only within that function.