CSE 1321 Test 1 Study Guide
Comments
Notes that have no effect on the program itself, but help explain parts of the program.
Java and C# = //
Python = #
Algorithm
A set of logical steps to accomplish a specific task.
Programming
Requires two skills:
• Algorithmic thinking
• Knowledge of programming language syntax
White Space
Spaces, blank lines, and tabs
Skeletons
1. Are the smallest program you can write
2. Are the minimal amount of code that compiles
3. Do NOTHING
4. Define the entry/starting point of the program
Pseudocode Skeleton
BEGIN MAIN
END MAIN
Java Skeleton
class MainClass {
public static void main (String[] args) {
}
}
C# Skeleton
using System;
class MainClass {
public static void Main (string[] args) {
}
}
Python Skeleton
def main():
pass
if __name__ == '__main__':
main()
Relational Operators
Category | Study Material |
Comments | 0 |
Rating | |
Sales | 0 |