<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Mobile_App_Development_2021W_Final_Exam_Review</id>
	<title>Mobile App Development 2021W Final Exam Review - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Mobile_App_Development_2021W_Final_Exam_Review"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Mobile_App_Development_2021W_Final_Exam_Review&amp;action=history"/>
	<updated>2026-05-12T23:59:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Mobile_App_Development_2021W_Final_Exam_Review&amp;diff=23168&amp;oldid=prev</id>
		<title>Soma: Created page with &quot;==Video==  Video for the review given on April 19, 2021 [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/lectures/comp1601-2021w-examreview-20210419.m4v is now available]....&quot;</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Mobile_App_Development_2021W_Final_Exam_Review&amp;diff=23168&amp;oldid=prev"/>
		<updated>2021-04-19T19:26:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Video==  Video for the review given on April 19, 2021 [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/lectures/comp1601-2021w-examreview-20210419.m4v is now available]....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Video==&lt;br /&gt;
&lt;br /&gt;
Video for the review given on April 19, 2021 [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/lectures/comp1601-2021w-examreview-20210419.m4v is now available].&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COMP 1601 Final Exam review session&lt;br /&gt;
&lt;br /&gt;
Final exam questions come from the midterm &amp;amp; assignments 3 &amp;amp; 4&lt;br /&gt;
 - questions mangled to get at the same concepts but with different wording&lt;br /&gt;
 - so study by understanding key concepts behind questions&lt;br /&gt;
I also look at the tutorials for questions, but that is a secondary source&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
State management, difference between Android and iOS SwiftUI&lt;br /&gt;
 - iOS Storyboard and Android are very similar&lt;br /&gt;
&lt;br /&gt;
With SwiftUI, you have state variables&lt;br /&gt;
 - views are updated when state variables change&lt;br /&gt;
 - you don&amp;#039;t need to think of how or when this happens,&lt;br /&gt;
   just keep the state updated, and make your views dependent on&lt;br /&gt;
   current state&lt;br /&gt;
&lt;br /&gt;
With Android, you manually manage state&lt;br /&gt;
 - when events happen, your code must update state based on event&lt;br /&gt;
   and then update display as needed&lt;br /&gt;
 - must structure code so display and state stay in sync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you create log messages, the device (phone) is sending out log messages that are then reported by the IDE in a log viewer window&lt;br /&gt;
 - these messages get to the IDE via a &amp;quot;serial device&amp;quot;&lt;br /&gt;
 - serial = one bit at a time&lt;br /&gt;
 - classically, how you connected a modem or terminal to a computer&lt;br /&gt;
    - a text terminal is a simulation of interaction with a serial device&lt;br /&gt;
 - this low-level mechanism is how things are communicated between the device and the IDE&lt;br /&gt;
&lt;br /&gt;
Hint: try doing cars to cows in Swift, see what happens&lt;br /&gt;
&lt;br /&gt;
I will be making connections between SwiftUI and Android, you should too&lt;br /&gt;
&lt;br /&gt;
code will only be short snippets&lt;br /&gt;
&lt;br /&gt;
Good to have Android and iOS dev environments accessible&lt;br /&gt;
 - but only use them after you&amp;#039;ve answered all you can otherwise&lt;br /&gt;
 - playing with dev tools sucks up time and you only have 2 hours&lt;br /&gt;
&lt;br /&gt;
Code in the exam will be based on code you&amp;#039;ve already seen&lt;br /&gt;
 - maybe with small changes&lt;br /&gt;
&lt;br /&gt;
compare/contrast how layout is done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
</feed>