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)

COSC 102 Exam 2 Questions and Answers Graded A+

Beoordeling
-
Verkocht
-
Pagina's
20
Cijfer
A+
Geüpload op
12-12-2025
Geschreven in
2025/2026

COSC 102 Exam 2 Questions and Answers Graded A+

Instelling
CSCE
Vak
CSCE

Voorbeeld van de inhoud

COSC 102 Exam 2 Questions and
Answers Graded A+

Which sorting algorithm divides the array into sorted and unsorted sublists? -

Correct answer-Selection

I am running the insertion sort algorithm, and currently at element 10 (the third

element in the list).

This is the state of my array: {15, 20, 10, 5, 35, 25}.

What step do I take next? - Correct answer-10 will be placed before 15, and 15 and

20 will be shifted to the right by one index

(T/F) With selection sort, we find the final position for an element with each step. -

Correct answer-True

Give the result of the following operation in hexadecimal. Both capital and

lowercase letters are accepted if needed. 0x4A & 0xB7 = 0x - Correct answer-02, 2

Convert 0b0001_1010 to decimal. - Correct answer-26

Given this array: { 16, 32, 7, 12 , 22, 13, 3, 5 }


©COPYRIGHT 2025, ALL RIGHTS RESERVED 1

,What is the order of the array after 3 steps of bubble sort?

Place one element in each blank below.

Beginning of Array: - Correct answer-16, 7, 12, 32, 22, 13, 3, 5

Give the result of the following operation in binary. Place the first four digits in the

first blank, and the second four digits in the second blank. (0110 1101) | (0011

0101) = - Correct answer-(0111 1101)

Which list correctly orders the numbers in order from smallest to largest?

- 0b0110, 0b1001, 0b0101, 0b1010

- 0b0101, 0b0110, 0b1001, 0b1010

- 0b1010, 0b0101, 0b0110, 0b1001

- None of the choices are in the correct order. - Correct answer-0b0101, 0b0110,

0b1001, 0b1010

Give the result of the following operation in binary. Place the first four digits in the

first blank, and the second four digits in the second blank. ~(0011 0101) = -

Correct answer-(1100 1010)

The ~ operation will... - Correct answer-flip all bits

Convert 0x44 to decimal. - Correct answer-68


©COPYRIGHT 2025, ALL RIGHTS RESERVED 2

, Convert 0x62 to binary. Use 8 bits: 4 digits in the first blank, and 4 digits in the

second blank. 0b - Correct answer-0110 0010

What is the largest number (in decimal) that you can hold with 4 binary digits? -

Correct answer-15

Give the result of the following operation in binary. Place the first four digits in the

first blank, and the second four digits in the second blank. (0110 1101) ^ (0011

0101) = - Correct answer-(0101 1000)

Convert 29 (decimal) to binary. Use 8 bits: 4 digits in the first blank, and 4 digits in

the second blank. 0b - Correct answer-0001 1101

Give the result of the following operation in binary. Place the first four digits in the

first blank, and the second four digits in the second blank. (0110 1101) & (0011

0101) = - Correct answer-0010 0101

Convert 0b0010_0111 to decimal. - Correct answer-39

Convert 0b0101_1111 to hexadecimal. Both capital and lowercase letters are

accepted if needed. 0x - Correct answer-5F

Convert 0x3C to decimal. - Correct answer-60

What base is decimal? - Correct answer-10

What base is Binary? - Correct answer-2
©COPYRIGHT 2025, ALL RIGHTS RESERVED 3

Geschreven voor

Instelling
CSCE
Vak
CSCE

Documentinformatie

Geüpload op
12 december 2025
Aantal pagina's
20
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$12.69
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
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
EmillyCharlotte Howard Community College
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
130
Lid sinds
1 jaar
Aantal volgers
5
Documenten
12293
Laatst verkocht
3 uur geleden
ALL-MAJOR.

On this page, you find all documents, package deals, and flashcards offered by seller Emilly Charlotte.

3.5

29 beoordelingen

5
9
4
10
3
2
2
3
1
5

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