PF001Programming Fundamentals • Language typeImportantMediumQ1.Which of the following is a procedural programming language?ASQLBPrologCCCorrect answerDHTMLShow Answer & Explanation
PF003Programming Fundamentals • Structured programmingImportantMediumQ2.Structured programming mainly uses which three control structures?Asequence, selection and iterationCorrect answerBinput, process and outputCclass, object and methodDcompile, link and runShow Answer & Explanation
PF004Programming Fundamentals • OOPImportantEasyQ3.Which of the following is a feature of Object Oriented Programming?AinheritanceCorrect answerBgoto statementsCline numbersDpunch cardsShow Answer & Explanation
PF005Programming Fundamentals • ComplexityImportantMediumQ4.The time complexity of an algorithm measures:Athe memory it usesBhow its running time grows with input sizeCorrect answerCthe number of variablesDthe file sizeShow Answer & Explanation
PF006Programming Fundamentals • ComplexityImportantMediumQ5.The space complexity of an algorithm measures the:Arunning timeBamount of memory it needsCorrect answerCnumber of outputsDnumber of loopsShow Answer & Explanation
PF007Programming Fundamentals • Asymptotic notationImportantHardQ6.Which asymptotic notation is used to represent the WORST-case (upper bound) running time?ABig OmegaBBig ThetaCBig OCorrect answerDBig DeltaShow Answer & Explanation
PF010Programming Fundamentals • RecursionImportantMediumQ7.An algorithm that solves a problem by calling itself is called:AiterativeBrecursiveCorrect answerCsequentialDmodularShow Answer & Explanation
PF011Programming Fundamentals • Problem solvingImportantEasyQ8.Which of these is the correct order of steps in problem solving?Acoding, analysing, testingBanalysing, algorithm, coding, testingCorrect answerCtesting, coding, analysingDalgorithm, testing, analysingShow Answer & Explanation
PF013Programming Fundamentals • Algorithm vs programImportantMediumQ9.An algorithm written in a mix of English and programming-like statements is called:Amachine codeBpseudocodeCorrect answerCflowchartDobject codeShow Answer & Explanation
PF015Programming Fundamentals • Machine languageImportantMediumQ10.The only language directly understood by a computer's hardware is:Ahigh-level languageBassembly languageCmachine language (binary)Correct answerDpseudocodeShow Answer & Explanation
PF002Programming Fundamentals • Language typeOtherMediumQ11.Which of the following is a non-procedural (declarative) language?ACBFORTRANCSQLCorrect answerDPascalShow Answer & Explanation
PF008Programming Fundamentals • Asymptotic notationOtherHardQ12.Big Omega notation is used to represent the:Aworst case (upper bound)Bbest case (lower bound)Correct answerCaverage caseDmemory usedShow Answer & Explanation
PF009Programming Fundamentals • Asymptotic notationOtherHardQ13.Big Theta notation represents the:Aupper bound onlyBlower bound onlyCtight (both upper and lower) boundCorrect answerDmemory usageShow Answer & Explanation
PF012Programming Fundamentals • CodeOtherMediumQ14.The program written by a programmer in a high-level language is called:Aobject codeBsource codeCorrect answerCmachine codeDbyte codeShow Answer & Explanation
PF014Programming Fundamentals • InstructionOtherEasyQ15.A set of instructions written to perform a specific task is called a:AprogramCorrect answerBkeyboardCmonitorDgateShow Answer & Explanation