0% found this document useful (0 votes)
1 views4 pages

Questions Bank

The document is a comprehensive question bank covering various topics related to programming languages, including their historical significance, syntax vs semantics, memory management, and programming paradigms such as imperative and functional programming. It also delves into object-oriented programming concepts, exception handling, and language design and implementation. Each question aims to explore fundamental concepts, applications, and practical programming tasks across different languages.

Uploaded by

01 Anshul Ambre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views4 pages

Questions Bank

The document is a comprehensive question bank covering various topics related to programming languages, including their historical significance, syntax vs semantics, memory management, and programming paradigms such as imperative and functional programming. It also delves into object-oriented programming concepts, exception handling, and language design and implementation. Each question aims to explore fundamental concepts, applications, and practical programming tasks across different languages.

Uploaded by

01 Anshul Ambre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Questions Bank

PPL

1. What is the historical significance of programming languages in computing?


2. Explain the difference between syntax and semantics in programming languages.
3. Why is understanding programming language syntax crucial for developers?
4. How do hardware and software influence programming language design?
5. Enumerate the language evaluation criteria and explain their significance.
6. Discuss the influence of computer architecture on language design.
7. Differentiate between various language categories in programming.
8. Explain the concept of memory management in programming languages.
9. Define variables and data types. Why are they fundamental in programming?
10. Describe the role of control structures in programming languages.
11. Discuss the importance of procedures and functions in imperative programming.
12. How does memory management differ in imperative programming compared to other
paradigms?
13. Compare and contrast imperative and functional programming paradigms.
14. What is recursion, and why is it a crucial concept in functional programming?
15. Explain the concept of higher-order functions in functional programming.
16. Describe in detail Language evaluation criteria.
17. Compare and contrast Hardware and Software.
18. Compare Syntax and Semantics.
19. State the history of Programming languages.
20. Compare Imperative programming and Functional programming.
21. Enlist applications of Imperative programming.
22. Enlist applications of Functional programming.
23. Describe Memory Management.
24. Convert 127 to binary.
25. Create a program using recursion to print Fibonacci series.
26. Explain computer architecture with diagram.
27. Number Conversion:
a. (10.10)2=()10
b. (1010)2=()8
c. (1010)2=()16
d. (12.5)10=()2
e. (125)10=()8
f. (125)10=()16
g. (34)8=()2
h. (34)8=()10
i. (34)8=()16
j. (B34)16=()2
k. (B34)16=()10
l. (B34)16=()8

28. Explain memory hierarchy in details.


29. Explain different level of programming language.
30. Write the reason for studying the programming language.
31. Explain data types in details
32. What is conditional statement? Explain with program.
33. Explain variable and its types.
34. What is recursion? Explain base condition and recursive condition with program.

35. Write a c program to determine whether a given number is prime or not.


36. Define objects and classes in the context of OOP.
37. How does inheritance contribute to code reusability in OOP?
38. Discuss the principles of encapsulation and abstraction in OOP.
39. Explain the concept of dynamic dispatch in OOP.
40. What are the basic concepts of exception handling in programming?
41. Explain the design issues related to exception handling.
42. How are exceptions bound to handlers in programming languages?
43. Explain Object Oriented Programming.
44. Explain Class and Object with Example.
45. What is Abstraction? Write a program to describe.
46. Explain Encapsulation and Polymorphism with program.
47. What is Inheritance?
48. Explain the different types of Inheritance.
49. Explain abstract class.
50. Write the difference between Abstraction and Encapsulation.
51. Write a C++ program for multiple inheritances.
52. Create two classes named Mammals and MarineAnimals. Create another class named
BlueWhale which inherits both the above classes. Now, create a function in each of these
classes which prints "I am mammal", "I am a marine animal" and "I belong to both the
categories: Mammals as well as Marine Animals" respectively. Now, create an object for
each of the above class and try calling
1 - function of Mammals by the object of Mammal
2 - function of MarineAnimal by the object of MarineAnimal
3 - function of BlueWhale by the object of BlueWhale
4 - function of each of its parent by the object of BlueWhale
53. Explain C++ program for ‘try’, ‘catch’ and ‘throw’.
54. Write a program that uses exception handling to handle the division by zero error.
55. Write the difference between error and exception.
56. Explain the different types of Exceptions.
57. What are the design issue for exception handling?
58. What is exception handling, and why is it essential in programming?
59. Explain the difference between errors and exceptions.
60. What are the common mechanisms used in exception handling?
61. What role does a `try-catch` block play in exception handling?
62. How does a `throw` statement work in exception handling?
63. What are the standard exception classes available in C++ and their use cases?
64. Explain different mathematical operator in c++.
65. Explain virtual class.
66. Explain Data types in Python.
67. What are the different Operators in python.
68. Explain Different Conditional Statement in python with suitable code.
69. Write a program of factorial in python.
70. Explain different mathematical operators in python with suitable code.
71. **Language Design and Implementation:**
72. Differentiate between compilation and interpretation in language implementation.
73. Explain the Phases of Compiler.
74. Explain Tokens and Lexeme .
75. Describe the roles of preprocessors in language design.
76. Explain the processes of lexical and syntactic analysis in language implementation.
77. Discuss the importance of semantics and parsing in programming languages.
78. Compare and contrast compilers and interpreters in language implementation.
79. What are assembly language instructions, and how do they relate to higher-level
languages?

You might also like