What does an IDE provide?, A. Only a debugger, B. A single text editor for notes, C. A bundle of tools (editor, compiler/interpreter, debugger, linker), D. Only a compiler, Which editor feature improves code readability by colouring keywords and strings?, A. Auto-indent, B. Breakpoints, C. Syntax highlighting (colour coding), D. Loader, What does a compiler do?, A. Runs code line by line without producing object code, B. Replaces the operating system, C. Translates the whole source code into object code in one operation, D. Loads executables into memory, Which is true of interpreters?, A. They produce a standalone executable file, B. They always run faster than compiled programs, C. They translate and execute instructions one at a time, D. They optimise code automatically, Which tool combines object files into a single executable?, A. Loader, B. Interpreter, C. Linker, D. Editor, What is the job of the loader?, A. Translate source to tokens, B. Colour code the editor, C. Place an executable into memory and start it, D. Fix syntax errors, What is a token?, A. A compiled program, B. A hardware part, C. A lexical unit (keyword, identifier, literal) created during lexical analysis, D. A register, Which compiler stage removes comments and splits code into tokens?, A. Code generation, B. Semantic analysis, C. Lexical analysis, D. Linking, Which stage builds the symbol table and checks variable declarations?, A. Optimisation, B. Symbol table construction / semantic checks, C. Tracing, D. Linking, What is syntax analysis (parsing) responsible for?, A. Running the program at runtime, B. Generating machine code, C. Checking token order against grammar and identifying syntax errors, D. Watching variables, Which best describes semantic analysis?, A. Removing whitespace, B. Checking that operations and types make sense (correct usage of variables/operations), C. Combining object files, D. Colouring code, What happens during code generation?, A. Tokens are created, B. Machine code or object code is produced, C. The program is executed line by line, D. Variables are watched, Why is optimisation used by compilers?, A. To make source code more readable, B. To stop runtime errors, C. To make generated code run faster and/or use less memory, D. To convert interpreters to compilers, Which is a disadvantage of compiled programs?, A. They run slowly, B. They never need testing, C. They must be recompiled after code changes, D. They always use less memory than interpreted versions, Which is an advantage of an interpreter for development?, A. Programs run faster forever, B. They produce an executable file users can distribute, C. Errors are found quickly (stop at error location), D. They require more memory than compilers, Which translator converts assembly mnemonics into machine code?, A. Compiler, B. Interpreter, C. Assembler, D. Linker, What is a breakpoint used for?, A. To mark syntax errors for the compiler, B. To improve code indentation, C. To pause program execution at a chosen line for inspection, D. To link libraries, What does variable watch show?, A. The number of lines in the file, B. The parsing tree, C. Changing values of selected variables during execution, D. The generated machine code, What is a linking error?, A. When a syntax rule is violated, B. When memory is full during execution, C. When a required function or library cannot be found by the linker, D. When rounding changes a number, Which error type occurs only while the program is running (e.g., division by zero)?, A. Syntax error, B. Runtime / execution error, C. Linking error, D. Token error, Which error may not stop the program but produces incorrect results?, A. Syntax error, B. Runtime error, C. Logical error, D. Tokenisation error, What is a rounding error?, A. An error fixing spaces in code, B. Property of tokenisation, C. Difference caused by limited decimal precision when storing numbers, D. An error that stops compilation, Which editor feature helps prevent mismatched braces and keeps code blocks aligned?, A. Linker, B. Trace, C. Auto-indent, D. Loader, Which is true about executable files?, A. They are human-readable source code, B. They must be interpreted instruction by instruction, C. They contain machine code and can be run directly by the OS/loader, D. They always require an IDE to run, Why might a programmer choose assembly language or machine code over a high-level language?, A. Because they are simpler to write, B. To avoid using registers, C. To get precise, direct control of hardware or optimise for speed/size, D. Because they allow auto-suggestion, Which statement about interpreters is FALSE?, A. They execute instructions as they are translated, B. They are useful for debugging during development, C. They produce an executable file to distribute, D. They usually use less memory than compilers during translation, What is tokenisation another name for?, A. Semantic checks, B. Code optimisation, C. Lexical analysis, D. Loading, Which compiler stage would detect a missing semicolon or unmatched parenthesis?, A. Semantic analysis, B. Syntax analysis, C. Optimisation, D. Linking, What does the symbol table store?, A. Only comments and spaces, B. Output of the compiled program, C. Names, addresses, data types and scope info for identifiers, D. Colour coding rules for the editor, What is the main downside of interpreted programs at runtime?, A. They are harder to debug, B. They require no memory, C. They run more slowly because each instruction must be translated as it executes, D. They produce executable binaries automatically, Which of these is NOT typically provided inside an IDE?, A. Text editor with syntax highlighting, B. Integrated compiler or interpreter, C. Debugger with breakpoints, D. Hardware replacement for the CPU, What does error trapping in an IDE do?, A. Converts source to machine code, B. Executes only the main function, C. Pinpoints where syntax or runtime errors occur (line numbers/messages), D. Removes all comments automatically, Which of the following best describes a library?, A. A code editor theme, B. Hardware memory module, C. A collection of precompiled routines that can be linked into programs, D. The final executable, Which error type is caused by using the wrong relational operator in a condition (e.g., < instead of >)?, A. Syntax error, B. Linking error, C. Logical error, D. Rounding error, What does virtual memory allow a system to do?, A. Run multiple compilers at once, B. Execute only interpreted programs, C. Use disk space to extend available memory so larger programs can run, D. Prevent syntax errors.
0%
Software Development
Bagikan
Bagikan
Bagikan
oleh
Teachertaryn
Edit Konten
Cetak
Menyematkan
Tambah
Tugas
Papan Peringkat
Tampilkan lainnya
Tampilkan lebih sedikit
Papan peringkat ini saat ini bersifat pribadi. Klik
Share
untuk menjadikannya publik.
Papan peringkat ini telah dinonaktifkan oleh pemilik sumber daya.
Papan peringkat ini dinonaktifkan karena opsi Anda berbeda dengan pemilik sumber daya.
Opsi Pemulihan
Kuis gameshow
adalah templat terbuka. Ini tidak menghasilkan skor untuk papan peringkat.
Diperlukan login
Gaya visual
Font
Diperlukan langganan
Pilihan
Berganti templat
Tampilkan semua
Format lainnya akan muncul saat Anda memainkan aktivitas.
)
Buka hasil
Salin tautan
Kode QR
Hapus
Pulihkan simpan otomatis:
?