Complete RGPV exam-oriented page covering algorithms, flowcharts, complexity, programming languages, programming paradigms, OOP concepts, POP vs OOP, C++ structure, character set, tokens, operators, expressions, control structures, input-output operations, arrays and functions.
Basic Computer Engineering Unit 2 important topics
Easy revision notes for RGPV exam
Algorithm is a step-by-step procedure to solve a problem. A good algorithm has finite steps, well-defined instructions, input, output and efficiency.
Flowchart is graphical representation of an algorithm. Common symbols are oval for start/stop, rectangle for process, diamond for decision and parallelogram for input/output.
Complexity measures efficiency of an algorithm. Time complexity measures execution time and space complexity measures memory usage.
Programming is the process of writing instructions for computer. Steps include problem analysis, algorithm design, coding, testing and debugging.
Programming languages are classified into low level and high level languages. Machine and assembly languages are low level, while C, C++, Java and Python are high level.
Programming paradigms are styles of programming. Common paradigms are procedural programming, object oriented programming and functional programming.
OOP is based on objects and classes. Main concepts are class, object, encapsulation, inheritance, polymorphism and abstraction.
POP focuses on functions and has less security. OOP focuses on objects, provides better security, code reusability and easy maintenance.
C++ is an object oriented programming language developed by Bjarne Stroustrup. It supports fast execution, portability and object oriented programming.
Tokens are the smallest units in a C++ program. Types of tokens are keywords, identifiers, constants, operators and strings.
Operators perform operations on operands. Main types are arithmetic, relational, logical and assignment operators.
Array stores collection of similar data items. Function is a block of code that performs a specific task and improves code reusability.
Very important for exams
#include <iostream>
using namespace std;
int main()
{
cout << "Hello";
return 0;
}
Must remember points for exam
High chance RGPV exam questions
Repeated questions from uploaded RGPV PYQ papers
| Topic | Repeated Questions | Frequency | Priority |
|---|---|---|---|
| OOP Concepts | OOP features, objects, classes, encapsulation and polymorphism | Very High | ★★★★★ |
| POP vs OOP | Difference with examples and advantages of OOP | Very High | ★★★★★ |
| Arrays & Functions | Syntax, examples, advantages and small C++ programs | Very High | ★★★★★ |
| Constructors & Destructors | Constructor types, destructor and scope resolution operator | Very High | ★★★★★ |
| Algorithms & Flowcharts | Algorithm, flowchart, program design and limitations | High | ★★★★ |
| Inheritance | Inheritance and its types with examples | High | ★★★★ |
| Function Overloading | Function overloading and operator overloading examples | High | ★★★★ |
| Operators & Tokens | C++ tokens, operators, data types and variables | High | ★★★★ |
| Classes & Objects | Class and object examples in C++ | High | ★★★★ |
Keep these PDFs in the same folder as this HTML file
Common student doubts
OOP concepts, POP vs OOP, algorithms and flowcharts, operators, control structures, arrays and functions are most important.
Program structure, tokens, data types, operators, if-else, switch, loops, arrays and functions should be prepared first.
POP vs OOP, low level vs high level language, compiler vs interpreter, while vs do-while and function vs procedure are important.