Skip to content

CS-504 (B) RGPV B.Tech

Object Oriented Programming (OOP)

Previous year papers and the official syllabus are free to read, no account needed.

Previous Year Papers

2 papers, latest Dec 2025

Free
See all 2 papers

Syllabus, notes and important questions for CS-504 (B)

Syllabus units

Topics as the official RGPV syllabus lists them.

Unit 1 Basics of programming 12 topics
  • Character set
  • Constants
  • Variables
  • Keywords
  • Identifiers and literals
  • Type declaration instruction
  • Arithmetic types: Integer, Long, Short
  • Signed and unsigned types
  • Storage classes
  • Integer and float conversions
  • Type conversion in assignment
  • Hierarchy of operations
Unit 1 notes
Unit 2 Decision control structure 21 topics
  • Control instructions
  • if statement
  • if‑else statement
  • Logical operators and their hierarchy
  • Arithmetic operators
  • Relational operators
  • Assignment operators
  • Increment and decrement operators
  • Conditional (ternary) operator
  • Bit‑wise operators
  • Special operators ( &, *, ., >, sizeof )
  • while loop
  • for loop
  • do‑while loop
  • odd loop
  • Nested loop
  • break statement
  • continue statement
  • case (switch) control structure
  • goto statement
  • exit statement
Unit 2 notes
Unit 3 Array and String handling 9 topics
  • Definition of arrays
  • Array initialization
  • Bound checking for 1‑D arrays
  • 2‑D array initialization
  • Memory map of 1‑D and 2‑D arrays
  • Multidimensional arrays
  • Definition of strings
  • Standard library string functions: strlen, strcpy, strcat, strcmp
  • 2‑D array of characters
Unit 3 notes
Unit 4 Structure, Preprocessor and Union 18 topics
  • Purpose of structures
  • Structure declaration
  • Accessing structure elements
  • Storage layout of structure elements
  • Array of structures
  • Applications of structures
  • Preprocessor features
  • Macro expansion
  • Macros with arguments
  • File inclusion directives
  • Conditional compilation directives: #if, #elif
  • Other directives: #include, #define, #undef, #pragma
  • Union definition and declaration
  • Accessing union members
  • Union of structures
  • Union member initialization
  • Uses of unions
  • User‑defined data types
Unit 4 notes
Unit 5 Introduction to Object Oriented Programming 15 topics
  • Object and class concepts
  • Data abstraction
  • Data encapsulation
  • Inheritance
  • Polymorphism
  • Static binding
  • Dynamic binding
  • Message passing
  • Benefits of OOP
  • Disadvantages of OOP
  • Applications of OOP
  • Simple program example
  • Program anatomy
  • Creating a source file
  • Compiling and linking
Unit 5 notes
Read the full syllabus