W01-02: CP01 Quiz (CSCI0823)
Quiz by Bryan N. Manalaotao
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
15 questions
Show answers
- Q1What are imperative languages primarily concerned with?Assigning values to storage locationsCreating abstract functionsManipulating data structuresEstablishing logical relationships20s
- Q2Which category of languages is known for its focus on algorithms and executable instructions?Imperative LanguagesFunctional LanguagesDeclarative LanguagesObject-Oriented Languages20s
- Q3Which programming paradigm does Prolog belong to?Object-OrientedDeclarativeImperativeFunctional20s
- Q4What is the basic unit of modularization in block-structured languages?Data DeclarationsObjectsProceduresFunctions20s
- Q5Which concept is fundamental to object-oriented languages?RecursionAbstractionEncapsulationOrthogonality20s
- Q6Which type of languages is concerned with solving problems through relations or functions?Logic ProgrammingObject-OrientedFunctionalImperative20s
- Q7What is the primary organizing principle in functional languages?ObjectsData DeclarationsFunctionsProcedures20s
- Q8Which programming language is commonly associated with logic programming?JavaC++PythonProlog20s
- Q9What is SQL commonly used for?Functional ProgrammingLogic ProgrammingObject-Oriented ProgrammingDatabase Operations20s
- Q10What is the purpose of studying programming languages?To understand the significance of programming constructsTo ignore the complexity of computer systemsTo learn how to use a specific language onlyTo design new languages exclusively20s
- Q11Which factor is NOT considered in language evaluation criteria?SimplicityPortabilityCostEfficiency20s
- Q12What is the main advantage of code optimization during compilation?Enhancing program readabilityIncreasing compilation speedMaking programs smaller and fasterReducing the need for storage space20s
- Q13What is the purpose of the fetch-execute cycle in the synthesis stage?Execution of machine codeOptimization of codeInterpretation of high-level codeCreation of parse trees20s
- Q14What is the primary concern of the lexical analyzer during the analysis stage?Generating intermediate codeSyntax analysisForming lexical unitsType checking20s
- Q15In hybrid implementation systems, what follows intermediate code generation?Code optimizationLexical analysisCode interpretationSyntax analysis20s