Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Advanced Computer Science Multiple Choice Questions (MCQs) with Answers and Explanations for Degree, Master-s, and Professional Certification Exams.docx

Beoordeling
-
Verkocht
-
Pagina's
7
Geüpload op
18-06-2026
Geschreven in
2025/2026

Advanced CompTIA N Advanced CompTIA CySA multiple choice questions with Advanced Computer Science Multiple Choice Questions (MCQs) with Answers and Explanations for Degree, Master-s, and Professional Certification E Advanced Microsoft Certified Power1

Meer zien Lees minder

Voorbeeld van de inhoud

Advanced Computer Science Multiple
Choice Questions (MCQs) with Answers and
Explanations for Degree, Master's, and
Professional Certification Exams
1. A distributed database system is designed to ensure availability during network partitions.
According to the CAP theorem, which property must be compromised when partition
tolerance is maintained?

A. Atomicity
B. Durability
C. Consistency
D. Isolation

Explanation: The CAP theorem states that a distributed system cannot simultaneously guarantee
consistency, availability, and partition tolerance. When partition tolerance is required, one must
choose between consistency and availability.

2. Which scheduling algorithm minimizes average waiting time when all process execution
times are known beforehand?

A. Round Robin
B. First-Come First-Served
C. Priority Scheduling
D. Shortest Job First

Explanation: Shortest Job First executes processes with the smallest burst times first, minimizing
the average waiting time compared with other scheduling methods.

3. A compiler performs lexical analysis before syntax analysis primarily to:

A. Generate object code directly
B. Allocate memory addresses
C. Convert source code into tokens
D. Optimize loops

Explanation: Lexical analysis scans the source code and groups characters into tokens that are
then used by the syntax analyzer to build parse trees.

4. In graph theory, which algorithm efficiently finds the shortest paths from a single source
to all vertices in a graph with non-negative edge weights?

, A. Bellman-Ford Algorithm
B. Floyd-Warshall Algorithm
C. Depth-First Search
D. Dijkstra's Algorithm

Explanation: Dijkstra's algorithm computes shortest paths efficiently for graphs with non-
negative edge weights using a greedy approach.

5. Which database normalization form eliminates transitive dependencies?

A. First Normal Form
B. Second Normal Form
C. Third Normal Form
D. Boyce-Codd Normal Form

Explanation: Third Normal Form removes transitive dependencies by ensuring non-key
attributes depend only on candidate keys.

6. In object-oriented programming, polymorphism allows:

A. Multiple inheritance only
B. Static memory allocation
C. Data hiding through encapsulation
D. Objects of different classes to be treated through a common interface

Explanation: Polymorphism enables methods to operate on objects of different types through a
shared interface, improving flexibility and reusability.

7. Which data structure provides amortized O(1) insertion and deletion at both ends?

A. Binary Search Tree
B. Stack
C. Queue
D. Deque

Explanation: A double-ended queue supports insertion and deletion at both front and rear in
constant amortized time.

8. In operating systems, deadlock prevention can be achieved by:

A. Allowing circular wait conditions
B. Ignoring resource allocation requests
C. Increasing CPU speed
D. Eliminating at least one necessary condition for deadlock

Documentinformatie

Geüpload op
18 juni 2026
Aantal pagina's
7
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Onbekend

Onderwerpen

$23.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
kiptoophinus

Maak kennis met de verkoper

Seller avatar
kiptoophinus Chamberlain University
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 week
Aantal volgers
0
Documenten
33
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen