W1 - Definition of Computer Programming Flashcards
Week 1
What are the elements in an IPO chart?
Input, Output and Processing
What does the acronym IPO stand for?
Input Processing Output
What is C#?
C# is a modern, object-oriented programming language developed by Microsoft, primarily used for building applications in the .NET Framework.
What are the key object-oriented programming (OOP) concepts in C#?
The key OOP concepts are objects, classes, encapsulation, inheritance, and polymorphism.
What is encapsulation?
Encapsulation is the bundling of data (attributes) and methods (behaviors) within a class to protect and control access to the data.
What is inheritance in OOP?
Inheritance allows a class to inherit properties and methods from another class, promoting code reuse.
What is polymorphism?
Polymorphism allows different classes to be treated as instances of the same class through inheritance or interfaces, enabling flexibility in code.
What is the .NET Framework?
The .NET Framework is a software development platform that provides a runtime environment (CLR) and class libraries for building and running C# applications.
What is the purpose of the Common Language Runtime (CLR)?
The CLR manages the execution of programs written in .NET languages like C#, handling memory management, exception handling, and security.
What is the structure of a C# program?
A C# program includes namespaces, classes, methods, and the Main() method, which serves as the entry point for program execution.
What are the steps in problem-solving using programming?
The steps include understanding the problem, planning the logic (with flowcharts or pseudocode), writing the code, and testing/debugging the program.
What is a namespace in C#?
A namespace is a container that organizes classes and other types, preventing naming conflicts.
What is the Main() method in C#?
The Main() method is the entry point of a C# application where the program begins execution.
What is pseudocode?
Pseudocode is an informal, plain-language description of the steps in an algorithm, used to plan the logic of a program.