Programming for Problem Solving Unit 2 Notes AKTU (BCS101)

AKTU · BTECH · Semester 1, 2 · Programming for Problem Solving · Unit 2 · Notes

AKTU Programming for Problem Solving (BCS101) Unit 2 notes for B.Tech Semester 1/2 – Operators Expressions and Conditional Branching. Topics: Operators and…

Open the interactive reader to study this resource on AcademicArk.

Unit 2: Operators Expressions and Conditional Branching – AKTU syllabus topics

  • Operators and Expressions: Arithmetic and Relational Operators, Logical and Bitwise Operators, Assignment Operator, Operator Precedence and Associativity
  • Type Conversion Mixed Operands
  • Conditional Branching: If and If Else Statement, Nested If Else, Switch Statement

Most asked AKTU PYQ questions from Unit 2

  1. Q2b. Differentiate operator precedence and associativity. Write a program in C to elaborate the use of logical AND and logical OR operators in C. (10 marks, 2018-19)
  2. Q4a. Define the term mixed operands in an arithmetic expression with few examples. Write a program in C to elaborate the use of type casting. (10 marks, 2018-19)
  3. Q4b. Explain the use of default in switch statement. Write a program that takes two operands and one operator from the user and perform the operation and prints the result by using switch statement. (10 marks, 2018-19)
  4. Q1c. Differentiate assignment and equality operators in C. (2 marks, 2018-19)
  5. Q1d. Correlate else if ladder and switch case statement. (2 marks, 2018-19)
  6. Q2b. What do you mean by Operands? Discuss the operator precedence and associativity of all the operators. (10 marks, 2021-22)
  7. Q4b. Explain different type of operators in C programming. Which concept makes the difference between operators when precedence is same? (10 marks, 2021-22)
  8. Q2b. What are operators? Mention different types of operators in C. Explain the difference between operator precedence and associativity with suitable example. (10 marks, 2019-20)
  9. Q4a. What are different conditional statements in C programming? Explain with proper example of each. (10 marks, 2019-20)
  10. Q4b. What do you mean by operator precedence and associativity in C. Explain with suitable example. (7 marks, 2025-26)

AKTU paper codes: BCS101, BCS201, KCS101, KCS101T, KCS201, KCS201T

Other Programming for Problem Solving units

Programming for Problem Solving previous year papers

More Programming for Problem Solving resources

Browse all notes · Semester 1 notes