Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Full Transcript

1. What is an algorithm? A high-level programming language A step-by-step process to solve a problem A type of software A hardware component 2. Who is considered the father of algorithms? Tim Berners-Lee...

1. What is an algorithm? A high-level programming language A step-by-step process to solve a problem A type of software A hardware component 2. Who is considered the father of algorithms? Tim Berners-Lee Abu Ja'far Mohammed ibn Musa al-Khowarizmi Guido van Rossum Charles Babbage 3. What is the primary purpose of a flowchart? To document code To visually represent the steps in a process To store data To debug programs 4. Which of these is not a common symbol used in flowcharting? Rectangle Process Decision Terminal 5. Which programming language is considered first generation? FORTRAN COBOL Machine Language Assembly Language 6. Which of the following is a high-level programming language? Binary Assembly Language Machine Language C++ 7. What does pseudocode represent? A visual diagram An executable program Actual code A high-level description of an algorithm 8. In Python, everything is an ________. Class Object Function Method 9. What is the role of an interpreter in Python? It stores code in memory. It executes each line of code one by one. It compiles the entire code at once. It converts Python code into binary. 10. Which of the following is NOT a feature of Python? Supports GUI applications Slow execution Portable Easy to learn 11. Python was first released in which year? 1991 2000 1989 2008 12. Which of the following symbols is used for integer division in Python 3? // % / * 13. What does a compiler do? Executes code line by line Stores the data in the cloud Checks for errors in the code Translates code into machine language 14. Which of the following is a third-generation language? COBOL Assembly Language Machine Language Python 15. Which programming paradigm involves "real-world objects"? Declarative Programming Object-Oriented Programming Functional Programming Imperative Programming 16. Which flowchart symbol represents a decision point? Oval Diamond Rectangle Circle 17. What type of data is Boolean? Decimal True or False Integer Character 18. Which Python feature allows it to run on different hardware platforms? Portability Scalability Extendability Readability 19. Which programming language is known as "COmmon Business Oriented Language"? Java BASIC COBOL FORTRAN 20. The first purely object-oriented programming language is ________. Smalltalk Java C++ Python 21. In which programming paradigm is everything treated as a function? Functional Programming Declarative Programming Object-Oriented Programming Logic Programming 22. Which flowchart symbol is used to represent the start or end of a process? Terminal Connector Input/Output Process 23. What is the difference between a compiler and an interpreter? Compilers convert the entire code at once, There is no difference. interpreters do it line by line. Interpreters convert the entire code at once, Compilers convert code line by line, compilers do not. interpreters do not. 24. Which type of programming language is closest to machine language? Fourth Generation Fifth Generation Second Generation Third Generation 25. A flowchart should always be kept ___________. Complex Decorative Crowded Simple 26. Which type of algorithm is used to find a specific element in a collection of data? Graph Algorithm Dynamic Programming Algorithm Searching Algorithm Sorting Algorithm 27. The first version of Python (0.9.0) was released in which country? USA Netherlands UK Germany 28. Which of the following is NOT a Python web framework? Flask React Django TurboGears 29. Which one of these is NOT a flowcharting tip? Use consistent spacing Use standard symbols Keep it simple Include as many decision points as possible 30. Which symbol is used to represent input or output in a flowchart? Diamond Rectangle Parallelogram Circle 31. Python scripts have __________ syntax. Complicated Vague Mixed Clear 32. What was Python named after? A programming concept Monty Python’s Flying Circus A snake A mathematician 33. Which programming paradigm focuses on statements that change a program's state? Object-Oriented Programming Imperative Programming Functional Programming Declarative Programming 34. The Python 3.x series started in which year? 2015 2006 2010 2008 35. Which one of these is a dynamic programming language? C Python Binary Assembly 36. What do variables in a program store? Fixed values Only integers Changing values Only characters 37. Which of the following is an example of a fifth-generation language? FORTRAN COBOL Prolog Python 38. What is the role of the "assignment operation" in programming? To assign a name to a value To compare two variables To start a program To convert a program to machine code 39. The Python feature that automatically handles memory management is called ________. Garbage collection Interactive mode Dynamic typing Object orientation 40. Which of these is a high-level, general-purpose programming language? Assembly Language Machine Language Binary Python

Use Quizgecko on...
Browser
Browser