Summary

This document contains a midterm exam review for programming languages like C# and C++. It covers various concepts, including data types, operators, and basic programming principles. The material also includes examples and explanations to help students understand the topic.

Full Transcript

MIDTERM EXAM REVIEWER C# - It is a programming language developed by Microsoft that runs on the.NET Framework. C++ - It is considered an intermediate-level language, as it builds upon the low-level C language but has more advanced capabilities. 2000 - C# was approved and announced at the.NET Develop...

MIDTERM EXAM REVIEWER C# - It is a programming language developed by Microsoft that runs on the.NET Framework. C++ - It is considered an intermediate-level language, as it builds upon the low-level C language but has more advanced capabilities. 2000 - C# was approved and announced at the.NET Developers Conference. The language was renamed as C#. 1999 - In this year, Anders Hejlsberg built a team to develop a new language which was called “Cool”. Line - It is a connector that shows relationships between the representative shapes. Semi-colon - Every C# statement ends with ___? public static void Main() - It is an entry point in the C# console program? Anders Hejlsberg - He is the key contributor to C# language development. Programming Language - These instructions are structured and human readable form of communication between humans and computers. High level - It is a symbolic language that use English words and/or mathematical symbols. Blank Line - It makes the code more readable. C# ignores these. Console - It is a class of the System namespace, which has a WriteLine() method that is used to output/print text. using System; - It means that we can use classes from the System namespace. Write() - It does not insert a new line at the end of the output. WriteLine() - It is a method often used to display variable values to the console window. STRING - It is a data type is used to create a variable that should store text. { } - It marks the beginning and the end of a block of code..cs - File extension for C#. + OR ADDITION - It is an operator used to add together two values? SINGLE-LINE COMMENTS - It starts with two forward slashes (//). Console.WriteLine(); - It is a method that is used to output/print text with inserting new line. INTEGER - It is a data type can store whole numbers from -2147483648 to 2147483647. CHARACTER - It is a data type is used to store a single character. - OR SUBTRACTION - It is an operator used to get the difference of two values. IDENTIFIERS - It is called for unique names. ARGUMENTS - args means what? % or MODULUS - It is an operator used to get the remainder. CONSTANT - It is unchangeable and will overwrite existing values. a and b - These are the short names variables. name, average, sum - These are the descriptive names variables. FALSE - A parallelogram represents a process. TRUE - A line is a connector that shows relationships between the representative shapes. FALSE - Pseudocode is very similar to everyday Spanish. TRUE - An oval represents a start or end point. ENUMERATION PART: Flowchart basic symbols (OVAL - LINE/ARROW - PARALLELOGRAM - RECTANGLE – DIAMOND) 2 groups of number types (INTEGER TYPES - FLOATING-POINT TYPES) Data Types (CHARACTER – INTEGER – FLOAT – DOUBLE – LONG – STRING) MEMORIZE ATLEAST 5 RESERVED KEY WORDS EXCEPT DATA TYPES (as, abstract, public, private, else, if, this, throw, default, break, in, out, try, ref, return, using, class, void, static, is, lockof, do, white, delegate, true, false, etc..)

Use Quizgecko on...
Browser
Browser