W1 - Definition of Computer Programming Flashcards

Week 1

1
Q

What are the elements in an IPO chart?

A

Input, Output and Processing

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

What does the acronym IPO stand for?

A

Input Processing Output

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

What is C#?

A

C# is a modern, object-oriented programming language developed by Microsoft, primarily used for building applications in the .NET Framework.

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

What are the key object-oriented programming (OOP) concepts in C#?

A

The key OOP concepts are objects, classes, encapsulation, inheritance, and polymorphism.

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

What is encapsulation?

A

Encapsulation is the bundling of data (attributes) and methods (behaviors) within a class to protect and control access to the data.

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

What is inheritance in OOP?

A

Inheritance allows a class to inherit properties and methods from another class, promoting code reuse.

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

What is polymorphism?

A

Polymorphism allows different classes to be treated as instances of the same class through inheritance or interfaces, enabling flexibility in code.

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

What is the .NET Framework?

A

The .NET Framework is a software development platform that provides a runtime environment (CLR) and class libraries for building and running C# applications.

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

What is the purpose of the Common Language Runtime (CLR)?

A

The CLR manages the execution of programs written in .NET languages like C#, handling memory management, exception handling, and security.

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

What is the structure of a C# program?

A

A C# program includes namespaces, classes, methods, and the Main() method, which serves as the entry point for program execution.

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

What are the steps in problem-solving using programming?

A

The steps include understanding the problem, planning the logic (with flowcharts or pseudocode), writing the code, and testing/debugging the program.

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

What is a namespace in C#?

A

A namespace is a container that organizes classes and other types, preventing naming conflicts.

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

What is the Main() method in C#?

A

The Main() method is the entry point of a C# application where the program begins execution.

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

What is pseudocode?

A

Pseudocode is an informal, plain-language description of the steps in an algorithm, used to plan the logic of a program.

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