Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 10 MCQs Programming Languages and Programming Process

DECAP145 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Categories of Programming Languages Easy

    Programming languages are broadly classified into which two main categories?

  2. Question 2 of 60 Categories of Programming Languages Easy

    Which of the following is considered a low-level language?

  3. Question 3 of 60 Machine and Assembly Language Easy

    Machine language is written using which of the following?

  4. Question 4 of 60 Machine and Assembly Language Easy

    Which of the following is used in assembly language instead of binary code?

  5. Question 5 of 60 Machine and Assembly Language Easy

    What is the name of the translator that converts assembly language into machine language?

  6. Question 6 of 60 Machine and Assembly Language Easy

    Which statement about machine language is correct?

  7. Question 7 of 60 Higher Level Languages Easy

    High-level languages are closer to which of the following?

  8. Question 8 of 60 Higher Level Languages Easy

    Which of the following is a high-level programming language?

  9. Question 9 of 60 Higher Level Languages Easy

    Which translator converts a high-level program into machine code all at once?

  10. Question 10 of 60 Higher Level Languages Easy

    Which translator executes a high-level program line by line?

  11. Question 11 of 60 Higher Level Languages Easy

    A key advantage of high-level languages over low-level languages is that they are:

  12. Question 12 of 60 WWW development languages Easy

    What does HTML stand for?

  13. Question 13 of 60 WWW development languages Easy

    Which language is mainly used to style and format the appearance of web pages?

  14. Question 14 of 60 WWW development languages Easy

    Which language is commonly used to add interactivity to web pages in the browser?

  15. Question 15 of 60 WWW development languages Easy

    In web development, HTML is primarily responsible for a web page's:

  16. Question 16 of 60 WWW development languages Easy

    Which of the following is a server-side scripting language used in web development?

  17. Question 17 of 60 The SDLC of Programming Easy

    What does SDLC stand for?

  18. Question 18 of 60 The SDLC of Programming Easy

    Which phase of the SDLC involves gathering what the software should do?

  19. Question 19 of 60 The SDLC of Programming Easy

    In the SDLC, which phase is concerned with finding and fixing errors in the program?

  20. Question 20 of 60 The SDLC of Programming Easy

    Which SDLC phase takes place after the software has been deployed to keep it running correctly?

  21. Question 21 of 60 Categories of Programming Languages Medium

    A team is building firmware that must directly control hardware registers with minimal overhead, yet they still want some human-readable mnemonics. Which language category best fits this need?

  22. Question 22 of 60 Categories of Programming Languages Medium

    Languages are often classified as low-level or high-level. What is the primary basis for this classification?

  23. Question 23 of 60 Categories of Programming Languages Medium

    A developer says their code describes what result is wanted rather than how to compute it step by step. Which paradigm are they using?

  24. Question 24 of 60 Machine and Assembly Language Medium

    Which statement correctly describes the relationship between machine language and the CPU?

  25. Question 25 of 60 Machine and Assembly Language Medium

    An assembler is used to convert an assembly program into an executable form. What is its main function?

  26. Question 26 of 60 Machine and Assembly Language Medium

    Why is assembly code generally not portable between different processor families?

  27. Question 27 of 60 Machine and Assembly Language Medium

    In assembly language, a label such as LOOP: is primarily used to:

  28. Question 28 of 60 Higher Level Languages Medium

    A compiled language and an interpreted language both start from source code. What is a key runtime difference?

  29. Question 29 of 60 Higher Level Languages Medium

    A student runs a Java program on both Windows and Linux without recompiling. Which feature makes this possible?

  30. Question 30 of 60 Higher Level Languages Medium

    Which characteristic is most associated with object-oriented high-level languages?

  31. Question 31 of 60 Higher Level Languages Medium

    A key advantage of high-level languages over assembly is that they:

  32. Question 32 of 60 Higher Level Languages Medium

    During compilation, which phase is responsible for checking that statements follow the grammar rules of the language?

  33. Question 33 of 60 WWW development languages Medium

    A web page displays headings and paragraphs but has no styling or interactivity. Which language is responsible for that structure?

  34. Question 34 of 60 WWW development languages Medium

    A developer wants to change the color and layout of many pages from one central file. Which technology is designed for this?

  35. Question 35 of 60 WWW development languages Medium

    Code that runs on the web server to generate a page before sending it to the browser is called:

  36. Question 36 of 60 WWW development languages Medium

    Which pairing correctly matches a task to the appropriate web language?

  37. Question 37 of 60 WWW development languages Medium

    Why is JavaScript often described as a client-side language in traditional web development?

  38. Question 38 of 60 The SDLC of Programming Medium

    A project team gathers user needs and documents what the software must do before any design begins. Which SDLC phase is this?

  39. Question 39 of 60 The SDLC of Programming Medium

    During which SDLC phase is source code actually written based on the design specifications?

  40. Question 40 of 60 The SDLC of Programming Medium

    A defect discovered after the software is released to users is fixed and a patch is issued. This activity belongs to which SDLC phase?

  41. Question 41 of 60 Categories of Programming Languages Hard

    A developer claims that a purely declarative language cannot express iteration. Which counter-argument most accurately refutes this claim?

  42. Question 42 of 60 Categories of Programming Languages Hard

    Consider four generations of languages (1GL–4GL). Which ordering correctly ranks them from lowest to highest level of abstraction?

  43. Question 43 of 60 Machine and Assembly Language Hard

    An assembler encounters a forward reference to a label that is defined later in the source. How does a two-pass assembler resolve this?

  44. Question 44 of 60 Machine and Assembly Language Hard

    Why does the same assembly source program generally fail to run unmodified on two processors with different instruction set architectures (ISAs)?

  45. Question 45 of 60 Machine and Assembly Language Hard

    A machine instruction is stored as the 8-bit pattern . If the high 3 bits are the opcode and the low 5 bits are an operand, what are the opcode and operand values in decimal?

  46. Question 46 of 60 Higher Level Languages Hard

    A language is described as compiled to bytecode and then executed by a virtual machine with just-in-time (JIT) compilation. Which statement about its execution model is most accurate?

  47. Question 47 of 60 Higher Level Languages Hard

    Consider strongly-typed versus weakly-typed high-level languages. Which scenario best illustrates a bug that strong static typing would catch at compile time but weak dynamic typing would not?

  48. Question 48 of 60 Higher Level Languages Hard

    A team debates using an interpreted versus a compiled language for a performance-critical numerical engine. Which tradeoff most accurately captures the core distinction?

  49. Question 49 of 60 Higher Level Languages Hard

    Which characteristic distinguishes an object-oriented high-level language from a purely procedural one in terms of how state and behavior are organized?

  50. Question 50 of 60 WWW development languages Hard

    A web page renders correctly but a screen reader cannot interpret its structure. Considering the roles of HTML, CSS, and JavaScript, which is the most likely root cause?

  51. Question 51 of 60 WWW development languages Hard

    In the client-server model of web development, which task is inherently a server-side responsibility that cannot be securely delegated to client-side JavaScript alone?

  52. Question 52 of 60 WWW development languages Hard

    A developer stores rendered HTML from user input directly into the DOM using innerHTML without sanitization. Which vulnerability class does this most directly introduce?

  53. Question 53 of 60 WWW development languages Hard

    Comparing server-side rendering (SSR) with client-side rendering (CSR) for initial page load, which statement is most accurate?

  54. Question 54 of 60 The SDLC of Programming Hard

    A project has volatile, frequently changing requirements and requires continuous stakeholder feedback. Which SDLC model is least suitable, and why?

  55. Question 55 of 60 The SDLC of Programming Hard

    The cost of fixing a defect discovered during the maintenance phase is often cited as far greater than one found during requirements analysis. Which principle best explains this escalation?

  56. Question 56 of 60 The SDLC of Programming Hard

    During which SDLC phase is the decision between build-vs-buy and the technical architecture (languages, platforms, data flow) most appropriately finalized?

  57. Question 57 of 60 The SDLC of Programming Hard

    A team using the Spiral model completes a prototype and identifies a high-risk integration point. According to the model, what happens next in the cycle?

  58. Question 58 of 60 The SDLC of Programming Hard

    Two SDLC approaches are compared: one delivers the entire system in a single release; the other delivers working increments repeatedly. Which is a genuine advantage of the incremental approach for a large enterprise system?

  59. Question 59 of 60 Categories of Programming Languages Hard

    A logic programming language (e.g., Prolog) is asked to solve a problem by stating facts and rules rather than steps. Which best describes how it produces an answer?

  60. Question 60 of 60 Categories of Programming Languages Hard

    Why is it inaccurate to call a language like Python "purely interpreted" even though it is commonly grouped with scripting languages?

That's unit 10

Answer a few questions and your score shows up here.