The Only Cheatsheets

Comprehensive collection of your cheatsheets

View project on GitHub

Complete Aptitude Guide

Download PDF

Table of Contents

  1. Quantitative Aptitude
  2. Logical Reasoning
  3. Verbal Ability
  4. Data Interpretation
  5. Computer Science Fundamentals
  6. Programming Logic
  7. Mathematical Reasoning

1. Quantitative Aptitude

A. Number System

Key Concepts:

  • Natural Numbers: 1, 2, 3, 4, …
  • Whole Numbers: 0, 1, 2, 3, 4, …
  • Integers: …, -2, -1, 0, 1, 2, …
  • Rational Numbers: Numbers that can be expressed as p/q where q ≠ 0
  • Prime Numbers: Numbers divisible only by 1 and themselves
  • Composite Numbers: Numbers with more than two factors

Important Properties:

  • Divisibility Rules for 2, 3, 4, 5, 6, 8, 9, 10, 11
  • LCM × HCF = Product of two numbers
  • Sum of first n natural numbers = n(n+1)/2
  • Sum of first n odd numbers = n²

Practice Questions:

  1. Find the HCF of 18, 24, and 36. Answer: 6 (Common factors: 1, 2, 3, 6)

  2. What is the LCM of 15, 20, and 25? Answer: 300 (15 = 3×5, 20 = 2²×5, 25 = 5²; LCM = 2²×3×5² = 300)

B. Percentages

Key Formulas:

  • Percentage = (Part/Whole) × 100
  • Increase % = (New Value - Old Value)/Old Value × 100
  • Decrease % = (Old Value - New Value)/Old Value × 100
  • Successive percentage changes: If two changes of a% and b% occur, net change = a + b + (ab/100)

Practice Questions:

  1. A number is increased by 20% and then decreased by 15%. What is the net change? Answer: Net change = 20 + (-15) + (20×(-15)/100) = 5 - 3 = 2% increase

  2. If 60% of a number is 240, what is 25% of that number? Answer: Number = 240/0.60 = 400; 25% of 400 = 100

C. Profit and Loss

Key Formulas:

  • Profit = Selling Price - Cost Price
  • Loss = Cost Price - Selling Price
  • Profit% = (Profit/Cost Price) × 100
  • Loss% = (Loss/Cost Price) × 100
  • SP = CP × (100 + Profit%)/100
  • CP = SP × 100/(100 + Profit%)

Practice Questions:

  1. A shopkeeper bought an item for ₹800 and sold it for ₹920. Find the profit percentage. Answer: Profit = 920 - 800 = ₹120; Profit% = (120/800) × 100 = 15%

  2. An article is sold at 25% profit. If the cost price is ₹1200, find the selling price. Answer: SP = 1200 × (100 + 25)/100 = 1200 × 1.25 = ₹1500

D. Simple and Compound Interest

Simple Interest (SI):

  • SI = (P × R × T)/100
  • Amount = P + SI
  • P = Principal, R = Rate, T = Time

Compound Interest (CI):

  • CI = P(1 + R/100)^T - P
  • Amount = P(1 + R/100)^T

Practice Questions:

  1. Find SI on ₹5000 at 8% per annum for 3 years. Answer: SI = (5000 × 8 × 3)/100 = ₹1200

  2. Find CI on ₹10000 at 10% per annum for 2 years. Answer: CI = 10000(1 + 10/100)² - 10000 = 10000(1.1)² - 10000 = 12100 - 10000 = ₹2100

E. Time and Work

Key Concepts:

  • If A can do work in ‘a’ days, A’s one day work = 1/a
  • If A and B together can do work in ‘c’ days, (A+B)’s one day work = 1/c
  • If A’s one day work = 1/a and B’s one day work = 1/b, then together they can complete work in ab/(a+b) days

Practice Questions:

  1. A can do a work in 10 days, B can do it in 15 days. How long will they take together? Answer: Combined work = 1/10 + 1/15 = 3/30 + 2/30 = 5/30 = 1/6; Time = 6 days

  2. A and B together can do a work in 12 days. A alone can do it in 20 days. In how many days can B alone do it? Answer: B’s work = 1/12 - 1/20 = 5/60 - 3/60 = 2/60 = 1/30; B alone = 30 days

F. Time, Speed, and Distance

Key Formulas:

  • Speed = Distance/Time
  • Distance = Speed × Time
  • Time = Distance/Speed
  • Average Speed = Total Distance/Total Time
  • Relative Speed (same direction) = S₁ - S₂
  • Relative Speed (opposite direction) = S₁ + S₂

Practice Questions:

  1. A car travels 240 km in 4 hours. What is its speed? Answer: Speed = 240/4 = 60 km/h

  2. Two trains 150m and 100m long are moving in opposite directions at 60 km/h and 40 km/h. Time to cross each other? Answer: Relative speed = 60 + 40 = 100 km/h = 100 × 5/18 = 250/9 m/s Total distance = 150 + 100 = 250m; Time = 250 ÷ (250/9) = 9 seconds


2. Logical Reasoning

A. Coding-Decoding

Types:

  1. Letter Shifting: Each letter is shifted by a fixed number
  2. Number Coding: Letters are replaced by numbers
  3. Substitution: Direct letter-to-letter substitution

Example: If COMPUTER is coded as DPNQVUFS, how is SCIENCE coded? Solution: Each letter is shifted by +1. SCIENCE → TDJFODF

B. Blood Relations

Key Terms:

  • Paternal: Father’s side
  • Maternal: Mother’s side
  • Siblings: Brothers and sisters
  • Spouse: Husband/Wife
  • In-laws: Spouse’s relatives

Practice Question: Pointing to a man, a woman said, “His mother is the only daughter of my mother.” How is the woman related to the man? Answer: Mother (The only daughter of woman’s mother is the woman herself)

C. Direction Sense

Key Points:

  • Remember: North-East-South-West (clockwise)
  • Left turn = 90° anticlockwise
  • Right turn = 90° clockwise
  • About turn = 180°

Practice Question: A person walks 5km North, then 3km East, then 4km South. What is the shortest distance from starting point? Answer: Final position: 3km East, 1km North from start. Distance = √(3² + 1²) = √10 km

D. Logical Sequences

Number Series:

  • Arithmetic Progression: Common difference
  • Geometric Progression: Common ratio
  • Fibonacci: Each term = sum of previous two terms

Letter Series:

  • Alphabetical order
  • Positional values (A=1, B=2, …)
  • Skip patterns

Practice Questions:

  1. Find next term: 2, 6, 12, 20, 30, ? Answer: 42 (Differences: 4, 6, 8, 10, 12)

  2. Find next term: B, F, J, N, ? Answer: R (Gap of 3 letters each time)

E. Syllogisms

Rules:

  • All statements are assumed true
  • Draw conclusions based only on given premises
  • No external knowledge should be used

Example: Premises: All roses are flowers. Some flowers are red. Conclusion: Some roses are red. Answer: Invalid (Cannot be concluded from given premises)


3. Verbal Ability

A. Vocabulary

Common Prefixes:

  • Pre- (before): Preview, Predict
  • Post- (after): Postgraduate, Postpone
  • Anti- (against): Antibiotic, Antisocial
  • Multi- (many): Multimedia, Multitask

Common Suffixes:

  • -tion (action): Creation, Innovation
  • -ly (manner): Quickly, Carefully
  • -ful (full of): Helpful, Meaningful
  • -less (without): Helpless, Meaningless

Synonyms & Antonyms: Study word pairs and their relationships. Use context clues in sentences.

B. Grammar

Subject-Verb Agreement:

  • Singular subject takes singular verb
  • Plural subject takes plural verb
  • With “either…or”, “neither…nor”, verb agrees with nearer subject

Tenses:

  • Present: Simple, Continuous, Perfect, Perfect Continuous
  • Past: Simple, Continuous, Perfect, Perfect Continuous
  • Future: Simple, Continuous, Perfect, Perfect Continuous

Common Errors:

  • Preposition usage (in, on, at, by, with, etc.)
  • Article usage (a, an, the)
  • Pronoun agreement
  • Dangling modifiers

C. Reading Comprehension

Strategies:

  1. Read passage carefully
  2. Identify main idea and supporting details
  3. Note author’s tone and purpose
  4. Look for keywords in questions
  5. Eliminate obviously wrong options

Question Types:

  • Main idea questions
  • Detail questions
  • Inference questions
  • Vocabulary in context
  • Author’s purpose/tone

D. Sentence Completion

Approach:

  1. Read the sentence completely
  2. Identify clues (contrast, cause-effect, comparison)
  3. Predict the type of word needed
  4. Check each option in context
  5. Choose the best fit

Example: The new policy was so _____ that it caused widespread protests. a) Popular b) Controversial c) Effective d) Simple Answer: b) Controversial (causes protests)


4. Data Interpretation

A. Tables

Skills Required:

  • Reading data accurately
  • Calculating percentages, ratios
  • Finding averages, totals
  • Comparing data across categories

Example Practice: Given a table showing sales figures for different products across quarters, calculate:

  • Which product had highest growth?
  • What was the average sales in Q2?
  • Which quarter had maximum total sales?

B. Bar Charts

Types:

  • Simple bar chart
  • Multiple bar chart
  • Stacked bar chart

Key Points:

  • Read scales carefully
  • Compare heights/lengths
  • Calculate differences and ratios
  • Identify trends

C. Line Graphs

Skills:

  • Identify trends (increasing/decreasing)
  • Find maximum/minimum points
  • Calculate slope/rate of change
  • Compare multiple lines

D. Pie Charts

Calculations:

  • Each sector = (Value/Total) × 360°
  • Percentage = (Value/Total) × 100
  • Value = (Angle/360°) × Total

Example: If a sector shows 72°, what percentage of total does it represent? Answer: (72/360) × 100 = 20%


5. Computer Science Fundamentals

A. Programming Concepts

Data Types:

  • Primitive: int, float, char, boolean
  • Non-primitive: arrays, strings, objects

Control Structures:

  • Sequential: statements executed in order
  • Conditional: if-else, switch
  • Iterative: for, while, do-while

Complexity Analysis:

  • Time Complexity: O(1), O(log n), O(n), O(n log n), O(n²)
  • Space Complexity: Additional memory used

B. Data Structures

Arrays:

  • Fixed size, contiguous memory
  • Access: O(1), Search: O(n), Insert/Delete: O(n)

Linked Lists:

  • Dynamic size, non-contiguous memory
  • Access: O(n), Insert/Delete: O(1) at known position

Stacks:

  • LIFO (Last In, First Out)
  • Operations: Push, Pop, Top, IsEmpty

Queues:

  • FIFO (First In, First Out)
  • Operations: Enqueue, Dequeue, Front, Rear

Trees:

  • Binary Tree: Each node has at most 2 children
  • Binary Search Tree: Left < Parent < Right
  • Balanced trees: AVL, Red-Black

C. Algorithms

Sorting:

  • Bubble Sort: O(n²)
  • Selection Sort: O(n²)
  • Insertion Sort: O(n²)
  • Merge Sort: O(n log n)
  • Quick Sort: Average O(n log n), Worst O(n²)

Searching:

  • Linear Search: O(n)
  • Binary Search: O(log n) - requires sorted array

D. Database Concepts

SQL Basics:

  • SELECT: Retrieve data
  • INSERT: Add new records
  • UPDATE: Modify existing records
  • DELETE: Remove records

Joins:

  • INNER JOIN: Records matching in both tables
  • LEFT JOIN: All records from left table
  • RIGHT JOIN: All records from right table
  • FULL JOIN: All records from both tables

Normalization:

  • 1NF: No repeating groups
  • 2NF: No partial dependencies
  • 3NF: No transitive dependencies

6. Programming Logic

A. Flowcharts

Symbols:

  • Oval: Start/End
  • Rectangle: Process
  • Diamond: Decision
  • Parallelogram: Input/Output
  • Circle: Connector

Example Problem: Draw flowchart to find largest of three numbers.

B. Pseudocode

Structure:

BEGIN
  INPUT variables
  PROCESS logic
  OUTPUT result
END

Example:

BEGIN
  READ a, b, c
  IF a > b AND a > c THEN
    PRINT a
  ELSE IF b > c THEN
    PRINT b
  ELSE
    PRINT c
  END IF
END

C. Pattern Recognition

Common Patterns:

  • Number patterns: arithmetic, geometric progressions
  • Star patterns: triangles, pyramids
  • Matrix patterns: spiral, diagonal

Practice Questions:

  1. Print pattern:
    *
    **
    ***
    ****
    
  2. Find output:
    for i = 1 to 5
      for j = 1 to i
        print i
    

    Answer: 1 22 333 4444 55555


7. Mathematical Reasoning

A. Probability

Basic Concepts:

  • Probability = Favorable outcomes / Total outcomes
  • P(A) + P(not A) = 1
  • P(A and B) = P(A) × P(B) [for independent events]
  • P(A or B) = P(A) + P(B) - P(A and B)

Practice Questions:

  1. A die is thrown. What is the probability of getting an even number? Answer: 3/6 = 1/2 (even numbers: 2, 4, 6)

  2. Two coins are tossed. What is the probability of getting at least one head? Answer: 1 - P(no heads) = 1 - 1/4 = 3/4

B. Permutations and Combinations

Formulas:

  • Permutation: P(n,r) = n!/(n-r)!
  • Combination: C(n,r) = n!/(r!(n-r)!)
  • Circular permutation: (n-1)!

Practice Questions:

  1. In how many ways can 5 people sit in a row? Answer: 5! = 120

  2. How many ways can 3 people be selected from 10 people? Answer: C(10,3) = 10!/(3!×7!) = 120

C. Set Theory

Operations:

  • Union (A ∪ B): Elements in A or B or both
  • Intersection (A ∩ B): Elements in both A and B
  • Difference (A - B): Elements in A but not in B
  • Complement (A’): Elements not in A

Venn Diagrams: Use for solving problems involving multiple sets.

D. Statistics

Measures of Central Tendency:

  • Mean = Sum of values / Number of values
  • Median = Middle value when arranged in order
  • Mode = Most frequently occurring value

Measures of Dispersion:

  • Range = Maximum - Minimum
  • Variance = Average of squared differences from mean
  • Standard Deviation = √Variance

Quick Reference Formulas

Arithmetic

  • (a + b)² = a² + 2ab + b²
  • (a - b)² = a² - 2ab + b²
  • a² - b² = (a + b)(a - b)
  • (a + b)³ = a³ + 3a²b + 3ab² + b³

Geometry

  • Area of rectangle = length × width
  • Area of triangle = (1/2) × base × height
  • Area of circle = πr²
  • Circumference of circle = 2πr

Algebra

  • If ax + b = 0, then x = -b/a
  • Quadratic formula: x = (-b ± √(b² - 4ac))/(2a)
  • Laws of exponents: aᵐ × aⁿ = aᵐ⁺ⁿ, (aᵐ)ⁿ = aᵐⁿ

Study Tips

  1. Practice Regularly: Solve at least 20-30 questions daily
  2. Time Management: Allocate specific time for each section
  3. Identify Weak Areas: Focus more on topics you find difficult
  4. Mock Tests: Take full-length tests to improve speed and accuracy
  5. Review Mistakes: Analyze wrong answers to avoid repetition
  6. Formula Sheet: Maintain a quick reference for formulas
  7. Speed vs Accuracy: Balance between solving quickly and correctly
  8. Stay Updated: Keep up with latest patterns in competitive exams

Common Mistakes to Avoid

  1. Calculation Errors: Double-check arithmetic operations
  2. Misreading Questions: Read questions carefully
  3. Time Mismanagement: Don’t spend too much time on one question
  4. Negative Marking: Be cautious with guessing
  5. Ignoring Options: Sometimes elimination is faster than solving
  6. Incomplete Solutions: Show all steps in subjective questions
  7. Panic: Stay calm during the exam

This comprehensive guide covers all major areas of aptitude testing for computer science engineering students. Regular practice and understanding of concepts will lead to success in competitive examinations and placement tests.