Select Page

Learning Goal: I’m working on a c++ multi-part question and need an explanation and answer to help me learn.
All coding solutions should be complete programs, must compile successfully and must be written in C++
I need all 3 to 4 coding question within the 1 hour and 25 minutes, Tip will be Added if done well.
Also please type the codes in a txt file, docx or something I easily open the file and just retype the code word for word. Or just type the code when you text me through study pool.
The test will be on stuff like this below.
1. Data Types, Variable Declaration & Assignment
2. Basics of Programming: Comments, Algorithms, White Space, Abstraction, Skeleton Program
3. Variables, Constants, Literals (declarations and usage)
a. Eight primitive/simple data types
b. Strings
c. 1D arrays of any possible data type including Objects or custom Classes
d. 2D arrays of any possible data type including Objects or custom Classes
4. Basic Program Structure – Class Name, Main Method, Input/Read Statement, Output/Write
Statement, Assignment Statement (in – C++
5. Mathematical Operators (*, /, %, +, -)
6. Relational Operators (<, , >=, !=, == )
7. Logical Operators (AND, OR, NOT)
8. Boolean Expressions & Conditions
9. Operator Precedence (i.e. Order of Precedence)
10. If-Else Statements (all versions, i.e. If, If-Else, If-Else-If)
11. Switch/Case Statements (Condition Types, Break Statement, Default Case)
12. Nested Selection Structures
13. Loops (WHILE, DO…WHILE and FOR)
14. Nested Loops
15. Method writing and method calling from within the same class file (local methods, not in
another class)
16. Define a Class with attributes/variables, default constructor, overloaded constructor(s) and
methods (including overloaded methods)
17. Class Methods (defining/writing class methods, including logic and return statements, calling a
class method from outside the class)
18. Objects (declare an object reference variable, assign an object to an object reference variable
(i.e., assign an instance of an object to an object reference variable) using the “new” keyword or
equivalent, calling methods of that object
19. Initializing, traversing, and processing 1D arrays with loops.
20. Searching (Linear and Binary) and Sorting (Bubble, Insertion and Selection) 1D arrays using loops
21. Declaring, initialization, traversing 2D array to print it or search for a target value using nested
loops.