100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

COS Assignment 1

Rating
4.0
(1)
Sold
3
Pages
11
Uploaded on
03-05-2023
Written in
2022/2023

This contains the attempted questions and got 100%. Everything is correct

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Course

Document information

Uploaded on
May 3, 2023
Number of pages
11
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

Content preview

COS2611 2023 Assignment 1
(Solutions 100%)
For Discussions and explanations please contact


Crystal Indigo!
Crystal Indigo!
Providing all solutions you need anytime
+27 76 626 8187




***Questions may be different in numbering and availability***

, Question 1: Linked lists allow you to overcome the size limitations of an array
data type.
a) True
b) False

Question 2: Suppose that the pointer head points to the first node in the list, and
the link of the last node is nullptr. The first node of the linked list contains the
address of the ____ node.
a) head
b) first
c) second
d) tail

Question 3: Every node (except of the last node) in a singly linked list contains
____.
a) the next node
b) no address information
c) the address of the next node
d) the address of the previous node

Question 4: A linked list is a collection of components, called ____.
a) elements
b) nodes
c) members
d) pointers

Question 5: In a linked list, the order of the nodes is determined by the address,
called the ____, stored in each node.
a) head
b) tail
c) link
d) first



Question 6: The length of a linked list is the number of nodes in the list.
a) True
b) False

Reviews from verified buyers

Showing all reviews
1 year ago

4.0

1 reviews

5
0
4
1
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
CrystalIndigo University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
486
Member since
5 year
Number of followers
226
Documents
73
Last sold
1 month ago
CrystalIndigo Solutions

providing all solutions to all computer science modules

4.1

51 reviews

5
27
4
13
3
6
2
1
1
4

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions