Wk1 Content Flashcards

1
Q

What is programming?

A

Writing instructions for a computer to perform tasks using a specified syntax programming language.

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

What is C++?

A

C++ is a popular, high-level programming language known for its control over system resources and memory, and portability across applications.

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

What is the role of input and output in programming?

A

Input refers to receiving data from external sources, while output involves sending data to external destinations.

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

What are fundamental concepts in programming?

A

Input, Output, Variables, and Control Structures.

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

How does Java’s object orientation compare to C++?

A

Java is strictly object-oriented, requiring everything to be in a class, whereas C++ supports both object-oriented and procedural programming.

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

What is the difference in platform dependence between Java and C++?

A

Java, running on the Java Virtual Machine, is platform-independent, while C++ offers more direct control over hardware and is platform-dependent.

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

Can C++ and Java be generic?

A

Yes, both C++ and Java can be used for generic programming.

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

How does Java use compilers and the JVM?

A

The Java compiler converts .java files into .class files (bytecode), which the JVM then interprets into native machine code.

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

What are compilers and linkers used for in programming?

A

They convert programming language into machine instructions; compilers convert the code, and linkers combine code files into a runnable program.

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

What is the frequency of new C++ version releases

A

New versions of C++ are planned to be released every three years.

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

What are the key differences in memory management between Java and C++?

A

Java automates memory management through garbage collection, whereas C++ requires manual management, including the use of memory pointers.

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

What are common uses of C++?

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

What are typical applications of Java?

A

Java is often used for client-server web-based applications.

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

C++ is mostly used for desktop applications, system-level programming, game coding, and building large, complex applications.

A

What programming paradigm does C++ primarily support?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
7
Q
A
7
Q
A
7
Q
A
7
Q
A
8
Q
A
8
Q
A
8
Q
A
8
Q
A
8
Q
A
8
Q
A
8
Q
A
9
Q
A
9
Q
A
9
Q
A
10
Q
A
10
Q
A
10
Q
A
10
Q
A
10
Q
A
11
Q
A
12
Q
A
13
Q
A
13
Q
A
13
Q
A
14
Q
A
15
Q
A