Basic concepts of OOP MCQS
1. What is an object in object-oriented programming (OOP)? a) A blueprint for creating instances of classesb) A collection of related variables and functionsc) An … Read more
1. What is an object in object-oriented programming (OOP)? a) A blueprint for creating instances of classesb) A collection of related variables and functionsc) An … Read more
1. Which of the following best describes a structure in C programming?a) A built-in data typeb) A collection of variables of different data types under … Read more
1. What is an array? a) A data structure that stores elements of the same type sequentially in memoryb) A data structure that stores elements … Read more
1. Which of the following is a decision control structure?a) while loopb) for loopc) if statementd) do-while loop Answer: c) if statementExplanation: The if statement … Read more
1. Which of the following correctly defines a character set in programming? A) A collection of mathematical symbols used in computationsB) A set of predefined … Read more