Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

COMP_1020_Sample_Exam_1__ANS

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
21-02-2026
Written in
2025/2026

COlVIP 1020: Sa111ple Exa1n I U:dASS - LO"ELL );'amc: h~~ Kc:/ ---------- Student ID: Question f Po-int ~_J 1 ~l-1 ~ -- ----l- --' 2 --~JO 1 3 Ill l ·1 15 5 23 4 1-----G- I l I 7 10 Tot al 1:l~ '--- .L - hist ructions: 1. This cxa111i11a tiun contains 13 pagf';,. incl11di11g t his pag'. 2 ·rile your ;111~we rs in this bookl'l If you must write· 011 the hnck pa g,'. pka:-c' i11dirnt,' Y'I':'" ct,,arh· 0 11 the front of the pag,' that you hav? writte n 011 the back of the pagt' · 3. Yun may tbe rC':-C•lll"CC': . including lec turC' 11,tt' "· hooks. other srnd'nt:- ,,r utll'r C'nginN'r:. but ~-,,u ' s hould pro·idt· a rl'f·rence. ,I. Yuu may u,-,f' a calnilat ur. Yuu 111a~· 11, t sh a r,' 3 cakulntor with a11y,rn1' . Question 1· L" k · m ed Lists l40ptsJ (a) (10 points) Pl o · easC' complete th £ I ne c1rc-ularly singly linked !is/ o lowing function to concat . enate two circular) . . , ' ,,,,., 'r y smglv lmked hst into • s tru r t node Node 3 b I I U l l node { • int data ' Node• nc~t } ; Node• c / oncatcnate{Nod . • • c• I,~ t J N d J Pr d ' 0 c• I Isl 2) { O UC.(• & DC

Show more Read less
Institution
Revision
Course
Revision

Content preview

COlVIP 1020: Sa111ple Exa1n I

U:dASS - LO\\"ELL




);'amc: h~~ Kc:/ ----------
Student ID :




Question f Po-int ~_J
1 ~l-1 ~
-- ----l- -- '
2 - - ~ JO 1
3
·1
Ill
15
l
4
5 23
1-----
G- I lI
7 10
Tot al 1:l~
'--- .L -




hist ructions:

1. This cxa111i11a tiu n contains 13 pagf';,. incl11di11g t his pag<'.
2 \\·rile your ;111~we rs in this bookl<'l If you mus t write· 011 the hnck pa g,'. p ka:-c' i11dirnt,' Y<'I':'\" ct,,arh·
0 11the front of the pag,' that you hav<? writte n 011 the back of t he pagt' ·

3. Yu n may tbe a.uy rC':-C•lll"CC':< . including lec turC' 11,>tt' "· hooks . other srnd<'nt:- ,,r utll<'r C'nginN'r:<. but ~-,,u
' s hou ld pro\·idt· a rl'f<·rence.
,I. Yuu may u,-,f' a calnilat ur. Yuu 111a ~· 11, >t s h a r,' 3 cakulnt or with a11y,rn1' .

, Question 1·· L m
" ked Lists
l40ptsJ

(a) o(10 points)
·
ne c1rc-ularly singly linked
, ' ,,,,., 'r
!is/
PleasC' complete th £ I
o lowing function to concatenate two circular)
. . .
y smglv lmked hst into

• s tru r t node Node

3 b IIUl l node {
• int data
' Node• nc~t
};


Node•
• Pr• d c oncatcnate{Nodc• I,~ . tJ 0
J
/ ' N d c• I I sl 2) {
O UC. (• & DC\\ J
p o111 ts to i'i,t \\hH.h c-on ta1n~ J
• of li sti;. t" new list Thr. ~ro• ,~ti followcd br) I11<12 ti pointer which
nU"1C'llt'< (jqt I nn< · 2 point
,Gt H!'tlltll,r
to th,
tail " of thr.




l'\o ~ "' b=-"'p-
.tf ( Lis-\-L -=-: N JLL)
(<t ~~ V\ l\ sr i I
.

:: !'lJ.Ll)
Ll ~ -t-1 ;




2

Written for

Institution
Revision
Course
Revision

Document information

Uploaded on
February 21, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
Abbyy01 Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
96
Member since
4 year
Number of followers
33
Documents
1337
Last sold
3 days ago

3.5

13 reviews

5
5
4
2
3
3
2
1
1
2

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions