Topic / 51 questions

Programming and Databases MCQs

Programming and Databases MCQs are multiple-choice questions on how software is written and how data is organised, covering programming languages, compilers and interpreters, debugging, web languages and database concepts. Every question on MCQs360 shows the correct answer instantly, so you can revise the computer section of your test and quickly see which ideas need more work.

Advertisement
Advertisement
Advertisement

Which statement correctly describes an interpreter?

Correct answer B. An interpreter does the conversion line by line as the program is run

Open question

About Programming and Databases MCQs

The programming questions cover the types of language, from machine and assembly language to high-level languages such as FORTRAN, and their strengths and limits. You will be asked how compilers and interpreters differ, what errors a compiler can detect, what debugging means, the stages of the programming cycle and who designs a program's structure. Web topics include HTML, its heading levels, and frameworks such as Angular.

The database questions deal with the meaning of a database, tables, rows and columns, the state of data at a given moment, master files and transaction files, and database software such as MS Access. A few questions touch on data mining techniques and macros in office programs. Expect questions that ask you to pick the false statement from a list, so read every option before answering, and learn the meaning of key terms rather than just their names.

Key facts to remember

  • A compiler translates a whole program into machine code at once, while an interpreter translates and runs it one statement at a time.
  • Debugging is the process of finding and removing errors in a program.
  • HTML provides six levels of headings, from h1 to h6.
  • In a relational database table, a row is a record and a column is a field.
  • FORTRAN, developed at IBM in the 1950s, was one of the first widely used high-level programming languages.
  • Microsoft Office programs such as Word use Visual Basic for Applications (VBA) for macros.

Exams that include Programming and Databases MCQs

Pakistan

  • PPSC
  • FPSC
  • SPSC
  • KPPSC
  • NTS
  • PTS

India

  • SSC CGL
  • SSC CHSL
  • IBPS PO
  • IBPS Clerk
  • RRB NTPC

Bangladesh

  • BCS
  • Bangladesh Bank

How to prepare for Programming and Databases MCQs

  1. Make a comparison table of compilers, interpreters and assemblers.
  2. Learn the generations of programming languages with one example of each.
  3. Revise basic database terms, such as record, field, table, primary key and instance, with short definitions.
  4. Learn the full forms of abbreviations such as DBMS, SQL, HTML and FORTRAN.

Frequently asked questions

What is the difference between a compiler and an interpreter?

A compiler translates the whole source program into machine code before it runs, producing an executable file. An interpreter translates and executes the program one line or statement at a time. Compiled programs usually run faster, while interpreters make testing and debugging easier.

Which exams ask programming and database MCQs?

These questions appear in the computer sections of PPSC, FPSC, SPSC, KPPSC and NTS tests, SSC and IBPS exams in India and the BCS preliminary test in Bangladesh. They are especially common in tests for programmer, IT officer and computer instructor posts.

Last reviewed October 2026