1) What is abstraction in computer science? a) Hiding details and showing essential features b) Writing code in only one language c) Running programs faster d) Using only numbers in programming 2) How does abstraction help programmers? a) It increases program size b) It hides unnecessary details to simplify design c) It makes programs slower d) It eliminates all code errors 3) Which describes high-level abstraction best? a) Working close to machine code b) Focusing on complex details c) Working with concepts like objects or functions d) Writing assembly instructions 4) Which is an example of low-level abstraction? a) Using a graphical user interface b) Writing assembly language c) Creating a database schema d) Using a web API 5) Why is abstraction important? a) It makes code harder to read b) It hides critical features from programmers c) It reduces complexity and increases reuse d) It removes all security risks 6) What is procedural abstraction? a) Creating procedures without input b) Hiding the details of how a procedure works c) Writing procedures in binary d) Using only built-in functions 7) Procedural abstraction allows programmers to: a) Focus on the procedure’s result rather than implementation b) Eliminate all bugs automatically c) Make programs longer d) Avoid using variables 8) Which is an example of procedural abstraction? a) Calling a library’s sort function without knowing how it sorts b) Writing code directly in machine language c) Using hardware to run programs d) Converting data manually 9) Why is procedural abstraction beneficial? a) It adds more complexity to a program b) It reduces program speed c) It makes code reusable and easier to maintain d) It forces programmers to know all details 10) In procedural abstraction, which part is hidden from the user? a) Input and output b) Internal implementation details c) Variable names d) Comments in code 11) What does API stand for? a) Application Programming Interface b) Applied Program Instruction c) Advanced Program Integration d) Automatic Process Index 12) What is the main purpose of an API? a) To directly access hardware b) To define how software components interact c) To delete programs d) To slow down processes 13) How does an API relate to abstraction? a) It exposes only necessary functions while hiding implementation b) It reveals all code details to the use c) It makes code obsolete d) It prevents software reuse 14) Which is a real-world example of using an API? a) Writing a function from scratch b) Calling Google Maps for location data c) Compiling a program manually d) Editing machine code directly 15) Why do developers use APIs instead of building everything themselves? a) APIs make programs harder to use b) APIs slow down development c) APIs provide reusable code and save time d) APIs remove all errors automatically 16) What is a function in programming? a) A variable storing numbers b) A reusable block of code that performs a task c) A hardware component d) A graphical element 17) What is one main benefit of using functions? a) Functions increase code repetition b) Functions reduce code reuse c) Functions organize code into reusable sections d) Functions slow down execution 18) When defining a function, what does the parameter represent? a) A fixed number b) A placeholder for input values c) A return value d) A memory address 19) What does the return statement in a function do? a) Ends the program b) Outputs a value from the function c) Starts a new function d) Prints text to the screen 20) Which is an example of a built-in function? a) print() in Python b) A variable declaration c) A for-loop d) A comment
0%
Computer Science Abstraction Project
Delen
Delen
Delen
door
Josyan
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Quiz
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Er zullen meer templates verschijnen terwijl je de activiteit gebruikt.
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?