The Student Room Group

Edexcel D1 - 17th June, 2016 [Exam discussion]

Scroll to see replies

Reply 460
Original post by pecora
Right, my attempt.

a) you make comparisons between first and second number on the list and the one which is bigger you "push" to the left and compare the remaining number with the next one. Repeat till the end of the pass and do other passes until you cannot do any more swaps - that's when the list is in order.

b) i) last one basically what you are doing is "pushing" all the smaller bits to the end
ii) that'll happen when the list is in complete mess, i. e. you need to resort 1, 2, 3, 4 into descending. you will need 3 passes. So n-1 passes.

Wrong, it would be the smallest number of course.
Help with Past paper Q!!! The last Q in that page, why's Using prims algorithm wrong??image.jpg
Reply 462
Original post by Yua
Wrong, it would be the smallest number of course.


It asks which number, so I guess both answers should be correct why wouldn't they give me a mark if I said the last one in that pass?
Original post by pecora
My gut senses are saying we'll find a trace table in the exam tomorrow.


Yikes- what's a trace table :P
Original post by The Curious One
Help with Past paper Q!!! The last Q in that page, why's Using prims algorithm wrong??image.jpg


I think you need to use kruskals because that looks at edges like the 2 given rather than nodes
Original post by The Curious One
Help with Past paper Q!!! The last Q in that page, why's Using prims algorithm wrong??image.jpg

Because in Prims you grow a connected tree whilst in kruskal you grow a non connected tree which is good because you already have two edges
predictions for tomorrow??
Reply 467
Original post by The Curious One
Help with Past paper Q!!! The last Q in that page, why's Using prims algorithm wrong??image.jpg


I don't even know how to use Prim's on this, it's impossible because Prim's must start at a vertex rather than an edge and here you are given two edges which absolutely must be in the tree how would you ensure that those specific edges appear on Prim's?

Use Kruskal's (1), start the algorithm with those two edges (2) and then continue like you would normally selecting the smallest ones that don't form a cycle till the tree is connected. Full marks.
Original post by Romanianduchess
Because in Prims you grow a connected tree whilst in kruskal you grow a non connected tree which is good because you already have two edges


Lovely
Original post by willroberts98
predictions for tomorrow??


I predict a D1 exam <3
Jack and Daniel are up late studying for D1.
Jack completes a bin packing problem and notes that the total wasted space is less the the size of a single bin.
Daniel claims that the solution is optimal, but Jack is skeptical. How should Daniel argue his case?
Ahhh right forgot about that, thanks guys!!!
Also does it matter which order we use in placing non-critical activities in a Gantt/Cascade chart? If so, then what sort of order?
Original post by thelegend99
Yikes- what's a trace table :P


Trace table? Whaaaat??

Posted from TSR Mobile
Original post by pecora
I don't even know how to use Prim's on this, it's impossible because Prim's must start at a vertex rather than an edge and here you are given two edges which absolutely must be in the tree how would you ensure that those specific edges appear on Prim's

Use Kruskal's (1), start the algorithm with those two edges (2) and then continue like you would normally selecting the smallest ones that don't form a cycle till the tree is connected. Full marks.



I would've started at probably one of those 4 nodes (say node A) and grown the tree from there
I swear its not on the syllabus

Original post by Themathgeek
Trace table? Whaaaat??

Posted from TSR Mobile
Original post by thelegend99
I swear its not on the syllabus


Ikr
Reply 476
Original post by The Curious One
I would've started at probably one of those 4 nodes (say node A) and grown the tree from there


That's not Prim's algorithm then, that's Booleshite's algorithm :smile: Prim's has to start at one vertex and then go from there. Not two.
What's the paper with the handshaking lemma proof model answer on it?
Original post by theoriginalrpr
does anyone have a link to the jan 2016 paper for d1? thanks


Original post by Pablo Picasso
Looking for it aswell


This guy has everything:
https://56leomessiphotoshop.blogspot.co.uk/p/edexcel-january-2016-exam-materials.html
Original post by The Curious One
Ahhh right forgot about that, thanks guys!!!
Also does it matter which order we use in placing non-critical activities in a Gantt/Cascade chart? If so, then what sort of order?


The Mark Schemes normally order the non-criticals alphabetically so that's what I would do

Posted from TSR Mobile

Quick Reply

Latest

Trending

Trending