0% found this document useful (0 votes)
22 views

COMPROG TEST REVIEWER

The document outlines key programming concepts, including algorithms, flowcharts, and programming languages, specifically focusing on C#. It covers various programming elements such as variables, data types, control structures, functions, and error handling. Additionally, it explains the importance of documentation, debugging, and maintenance in programming.

Uploaded by

arsenioarce70
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

COMPROG TEST REVIEWER

The document outlines key programming concepts, including algorithms, flowcharts, and programming languages, specifically focusing on C#. It covers various programming elements such as variables, data types, control structures, functions, and error handling. Additionally, it explains the importance of documentation, debugging, and maintenance in programming.

Uploaded by

arsenioarce70
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

COMPROGNO1

Study online at https://quizlet.com/_f2lfdj

1. Program Concept Organizing instructions for the computer in a coherent order.

2. Off-Page Connec- Connects flowchart elements on different pages with a reference.


tor

3. Algorithm Well-defined procedures to solve a problem.

4. Flowchart Graphical representation of computer operations sequence.

5. Terminator Symbol for process start or end, often oval or rectangle.


(Start/End)

6. Process Depicts a specific action in the process, shown as a rectangle.

7. Decision Symbol for decision point or branching, usually diamond-shaped.

8. Input/Output Signifies data input or output, displayed as a parallelogram.

9. Flowline (Arrow) Connects symbols, showing flow direction in the process.

10. Connector Circle or dot connecting flowlines for continuation.

11. On-Page Connec- Connects flowchart elements on the same page for identification.
tor

12. Compiler Program transforming source code into another language.

13. Debugging Locating and fixing errors in program code or hardware.

14. Documentation Written descriptions of programs and associated materials.

15. Maintenance Fixing errors promptly to avoid system issues.

16. Pseudocode Instructions version describing computer steps.

17. Syntax errors Errors due to syntax rule violations in programming.


1/6
COMPROGNO1
Study online at https://quizlet.com/_f2lfdj

18. Semantic errors Errors due to improper use of program statements.

19. Logical errors Errors due to specification violations in programming.

20. Compile time er- Syntax and static semantic errors indicated by the compiler.
rors

21. Runtime errors Dynamic semantic and logical errors not detected by the compiler.

22. Programming Artificial languages communicating instructions to machines.


Languages

23. Visual Studio Integrated development environment for C#.

24. C# (C-sharp) Modern, object-oriented language developed by Microsoft.

25. Variables Named containers for storing data.

26. Common Data Types like int, double, string, and bool for data storage.
Types

27. Garbage Collec- Automatic memory management simplifying memory handling.


tion

28. Declaring a vari- Defining a variable's name and data type.


able

29. Strong Typing C# enforces strict type checking, reducing the likelihood of runtime errors.

30. Garbage Collec- Automatic memory management simplifies memory handling.


tion

31. Object-Oriented C# is object-oriented, allowing developers to model real-world entities in their


code.

2/6
COMPROGNO1
Study online at https://quizlet.com/_f2lfdj

32. Platform Inde- C# code can be compiled to run on different platforms, thanks to the .NET frame-
pendence work's cross-platform capabilities.

33. Int Used for whole numbers (e.g., 1, 42, -10).

34. Double Used for floating-point numbers with decimal places (e.g., 3.14, -0.5).

35. string Used for text and characters (e.g., "Hello, World!")

36. bool Used for Boolean values (true or false).

37. Declaring a vari- means defining its name and data type.
able

38. Initializing a vari- means giving it an initial value


able

39. Basic input/out- essential for interacting with a program. We'll use Console.WriteLine() to display
put (I/O output and Console.ReadLine() to receive input from the user.

40. if statements are used to execute a block of code only if a specified condition is true.

41. if-else state- allow you to specify two blocks of code: one to execute when a condition is true
ments and another when the condition is false.

42. Nested if state- involve placing one if statement inside another. They allow you to create complex
ments conditional logic.

43. Switch statement are used when you have multiple choices and need to execute different code based
on the value of an expression.

44. while loop Repeats a block of code as long as a condition is true.

45. do-while loop Similar to the while loop but guarantees at least one execution.

3/6
COMPROGNO1
Study online at https://quizlet.com/_f2lfdj

46. for loop Iterates over a sequence of values for a specified number of times.

47. Loops are invaluable for automating tasks that require repetitive execution, such as
processing data, counting, or iterating through collections.

48. Loop control allow you to modify the normal execution of loops. Two common control state-
statements ments are:

49. break Terminates the loop prematurely, exiting the loop.

50. Continue Skips the current iteration and moves to the next iteration.

51. Array data structure that allows you to store multiple values of the same data type in a
single variable.

52. Array elements are accessed using an index, which is enclosed in square brackets [].

53. Index starts at 0 for the first element and goes up to length - 1 for an array of length.

54. Multidimension- is an array of arrays.


al Arrays

55. Function involves specifying its name, parameters, and code block. Functions are created to
encapsulate specific tasks.

56. Calling a function executes its code block at a specific point in your program.

57. Parameters allow you to pass information into a function. Parameters are defined within
parentheses.

58. Return values are values that a function can provide as output when it finishes executing.

59. Functions and


Methods

4/6
COMPROGNO1
Study online at https://quizlet.com/_f2lfdj

60. Method over- allows defining multiple methods with the same name but different parameters
loading within the same class.

61. Variable scope defines where in a program a variable can be accessed, while lifetime refers to how
long a variable exists during program execution.

62. Scope Defines where a variable is accessible within the code.

63. Local Variables Scoped within a method and accessible only within that method.

64. Global Variables Scoped at a broader level and accessible throughout the class or program.

65. Lifetime Refers to the duration for which a variable exists in memory.

66. Local Variables Created when the method is called and destroyed when the method exits.

67. Global Variables Exist throughout the program's execution.

68. Exception han- is a crucial aspect of programming that enables the detection and management
dling of errors that may occur during program execution.

69. Try The block of code where exceptions may occur.

70. Catch Catches and handles the specified exception type.

71. Finally Optional block for code that should execute regardless of whether an exception
was thrown or not.

72. System.Excep- The base class for all exceptions in C. Other exception types derive from this class.
tion

73. System.IO.IOEx- Represents errors in I/O operations.


ception

74. Occurs when dividing by zero.

5/6
COMPROGNO1
Study online at https://quizlet.com/_f2lfdj

System.Divide-
ByZeroException

75. System.NullRefer- Occurs when trying to access a member on a null object reference.
enceException

6/6

You might also like