Monday, 30 June 2014

USYD - INFO3315 - Mid term exam questions - 2013

 Last year assignment and tutorials was about FitBit. every students got one of this wireless FitBit device and every tutorial, assignment and quiz were around that. they might change it this year but it gives you overall view on how it looks like or what they assess in exam. i also wanted to put my assignment here but it's too long and I think you'll do better.
here's the questions:

Question 1(10 marks) 

(2 marks) What is one important affordance of the FitBit?

(2 marks) For your project this semester, you aim to create an interface that enables people to exploit their FitBit data so they can observe changes in their inactivity over time. Explain how the affordance of the FitBit are useful for this?

(2 marks) Suppose we had the perfect sensor for the project goal, state one key affordance would it have that the FitBit does not have.

(2 marks) Explain how  think aloud evaluation has the potential to give insight into the user's mental model?

Question 2(10 marks) 

(6 marks) For the project this semester, a friend drafted the following single sentence statement to describe the goal of their interface:
  • A sedentary worker ill be able to determine the average number of minutes per work-day that they were inactive during work-hours over the last full calendar month.
 There is missing key elements of the single sentence statement. What are the missing elements?

To help your friend understand how to improve their single sentence statement, amend the following copy, writing on an example of each missing part.
  •  A sedentary worker will be able to determine the average number of minutes per work-day that they were inactive during work-hours over the last full calendar month.

(2 marks) In the week 4 lab you saw the following question based on a standard questionnaire:
  • During the last 7 days, how much time in total did this user usually spend sitting on a week day?      ---------------hours ---------------- minutes
In light of your lecture on design of questionnaire, what is a serious weakness of this question?

(2 marks) The week 5 reading, Lewis et al(2013) UMUX-LITE when there's no time for SUS, provided evidence of the value of just 2 usability questions, rather than the full SUS. what is the main reason to use SUS, even though it takes the user longer to answer?

Question 3(10 marks) 

In the week 4 lb you studied the screen shot below, from the FitBit interface. It shows activity of a hypothetical user called Alex. The user has their mouse over the bar for the time 11.15 - 11.30am. If the user moves their mouse away from the bars, the bubble disappears.



Suppose you are designing the tasks for a think aloud usability evaluation, to access whether users can make effective use of this interface to access their level of activity

(4 marks) State one important weakness in the following task:
  • Use your mouse to hover over the tallest bar in the chart to see how many steps this user took at that particular time?

(2 marks) Write a better version of the question that avoids this weakness.

(2 marks)  State what Fitts' Law predicts about the effect of the size of the click-target where the target is 5 centimetres  from the current position of the mouse cursor.
  
(2 marks) In a desktop GMOS analysis, P ranges from 0.8 to 1.5, according to Fitts' Law. Is this directly applicable to a tabletop touch interface?
    Yes/ No
Justify your answer in terms of the relationship between Fitts' Law and the way it relates to the value of P in a GOMS analysis.

Question 4 (10 marks)

In the space below, draw a concept map. it should answer the question:
  • What are the characteristics of Think-Aloud usability evaluation?
Use only the concepts and links listed below.(They are in alphabetic order)
Use just 7 of the most important concepts to create just 6 of the most important propositions.

Concept list
efficiency
expert-users
learnability
memorability
monitoring
no-user method
novice-users
qualitative-method
quantitative-method
satisfaction
think-aloud
user method
user-errors

Link names:
evaluates
is-a(n)
is-important-for
is-suited-to

p.s: course website INFO3315 ... they changed it a lot
       please don't ask for answer. I even didn't have the questions

Wednesday, 11 June 2014

How to insert code snippet into your blog...easy way

ok, recently I was trying to copy paste some code into my blog. i tried different methods, and i found this method explaining Here the easiest and efficient way. you have other options if you don't like the logo at the bottom of your code snippet, which is just adding JavaScript and CSS files to your template. the only reason I used that method mentioned in that blog was that it gave me what I wanted and I didn't mind the logo, plus it was straight forward

Break out game in C++ using QT 5.2.1 - Stage 1 - Header files

In his stage we were required to implement a bouncing ball inside a box. ball needs to bounce of the box edges at constant speed. singleton design pattern used here. this is done in QT. we have header and implementation files for coordinate, ball, and dialog classes, in addition to main method.
here is the coordinate header file...coordinate.h...

ball.h
dialog.h

sample config file looks like this

now some explanation. coordinate class is for translating coordinate in Qt in a way that we are comfortable of. it means Qt consider top left corner (0,0), and while you're moving to right or down it increases the x and y coordinate. personally, I think we don't need this..well...here it is... ball class has some functions needs proper implementation beside normal getter/setter methods. render and isCollision functions. isCollision function checks if the ball hit any edges of the box, and render function handle the ball movements. dialog class is the core of this to put them all together. we used Singleton Design Pattern here to make sure only one instance of dialog exists at any time. I hope I explained it good enough, as I'm still learning. I'll post the implementation files and main method in near future, meanwhile stay hungry, keep coding

Some other information:

  • this is not my code. mine was similar but it didn't changed colour when ball hits the box
  • again this is implemented in Qt
  • the actual website that have the tutorial on basic set up to start on this assignment can be found Here

Friday, 6 June 2014

Break out game in C++ using QT 5.2.1 - Introduction

I had an assignment this semester which was about to create BreakOut game using C++ and Qt IDE. it was part of INFO3220 - Object Oriented Design subject which is offered in prestigious university of Sydney...where recently its e-learning website known as BlackBoard crashed....assignment was in 3 stages and it needed to be done individually.
stages are:
  1. bouncing ball inside a box in a constant speed, and specification of ball and box needs to be read from a file.
  2. lay out bricks with initial health. ball should hit them and based on the bricks health, it should behave accordingly, either bounce back or remove brick.
  3. add paddle at the bottom, ball needs to bounce back from that, and paddle needs to be controlled either by mouse or keyboard. shows players life and score.
I post the source code little by little, and I'll do my best to explain them. the code which I will use is not mine. we implemented the first stage then we for later stages we got a sample code for former stage and developed that to add additional features. the sole purpose of this is to give students the chance to have sample to work out and see how they need to do stuff. I'm not seeking no any intention whatsoever to get benefit from that. I thought about considering copyright of the person who wrote the code, I'm not sure if this cause any problem or any ethic issue. All rights reserved for INFO3220 teaching staff.
I'll post the code as soon as I get time...considering exams are coming...

I also try to put rest of assignments and task for other subjects hopefully. this might take time to organise them, so stay tuned
Pamador out

Saturday, 31 May 2014

How to install Windows application under Ubuntu

If you want to install a program and there is not the Linux/Ubuntu version of that program, you need to install a program named 'Wine' in Ubuntu. To install Wine you have two options:
1- in software centre just type 'Wine' and install it.
2- search in the internet and install that program


University of Sydney Elearning is Down!!!

apparently last night university of Sydney E learning website known as Blackboard has been crashed and all the unit of studies of all student has been removed. students can no longer see their enrolled unit of studies. and the bad thing is students are in final week, which is week 13, and they're working hard on assignments to submit them on due date, which put pressure on them. this might be good for students, so they probably get more time for assignments, or not. students can no longer see, lecture notes, tutorials, lecture recording etc. this is not good for prestigious university of Sydney.
I can see all the funny thing UTS, UNSW even UWS are saying about that. you let us down you damn inefficient, insecure, badly design, slow Backboard. you just list all the software quality attributes, and see none but one about that website which is University of Sydney shining logo.

Saturday, 8 March 2014

Windows 8.1 and Kubuntu 13.10 dual boot

I have following specification for my system:
Dell Xps laptop without pre-installed Windows 8, 4GB RAM, 128 GB HDD, no DVD drive

You need to get Windows 8.1 installation file...genius...
you have couple of options, to get that. i assumed you could do that part, if not please see our ghinj customer service.

I have Windows 8.1 ISO file. if you want to install from USB memory stick, you need Windows 7 USB DVD Download Tool, from Microsoft website. this tool is easy to use you just follow the steps and it creates a bootable memory stick for you. 

On the other hand, if you don't have USB memory stick you have other option. in my case, i have a external hard drive which connects to USB 2 or 3 port by  cable. 

connect your external hard drive to your machine then extract the Windows ISO file to that. 
then follow this steps to make it bootable:
1- to run command prompt---> type 'cmd' in search box then enter or 
    windows logo key+ r ---> cmd
2- navigate to your external hard dive ---> e.g if your hard drive is H, the h:
3- then 'cd boot'
4- run this command: bootsect h:

then reboot your machine, and go through the Windows installation, which is pretty straight forward.

so far so easy.

now to install Kubuntu 13.10 or Ubuntu. first download it from Ubuntu or Kubuntu website.
installation file is not as big as Windows, so you can use usual USB memory stick.
there are tools to create a bootable memory stick for your installation, like Universal USB Installer, or Unetbootin, which i used unetbootin.
download and run Unetbootin. select the 'DiskImage', then browse to your image file and make sure the program has recognized your USB memory stick, hit 'OK' and let the program do its job.

when finished, do not reboot. there is one more step. you need to make some room for Ubuntu.
you need to run the 'Disk management' tool in Windows. 
quick way is -> win logo key+ r  -> diskmgmt.msc
or
right click on 'Computer' icon on your desktop, then choose 'Manage'. in the opened windows select 'Disk Management'. you can also go through control panel.
you may need administrator permission.
while inside disk management, right click on your windows drive and hit 'Shrink'. let it calculate the space then choose how much space you need then hit OK. you don't need to format that.

now put your bootable Ubuntu USB memory stick and reboot your machine. you need to make sure that your machine boot from USB first...check your boot menu for boot order...

if everything is fine you should see Ubuntu installation page. select install now. first a few steps are pretty straight forward like choosing your language, connecting to wireless network, etc. important part is partitioning your empty space on your hard drive. here we want to have dual boot so you should choose ' Something else' then it shows your hard drive lay out. you should be able to see the unpartitioned space in the list with other partitions. click on that, to create the partitions, here's what i created:
1- 250 Mb ..... EXT2 as /boot
2- 4096 Mb .... swap area ....depends on the size of installed RAM
3- rest of the space .... EXT4 journaling file system as /

for bootloader option, don't choose any drive, and leave it unchanged. you should have the format tick box for /boot and / drive. swap drive can't be formatted.

then go through the rest of installation. you need to reboot and you should see the GRUB menu which shows you the Windows and Ubuntu to choose. if not, then there are 3 situations here:
1- you go to Windows
2- you go to Ubuntu
3- or nothing 

i was lucky it worked for me in my first installation so i'm not going through how to fix those issues.

Windows secure boot, fast boot caused problem, and it needs to be turned off. or you go to Ubuntu then you need repair the boot loader, which can be done by installing boot repair software on Ubuntu and run that. it should fix the problem.

Good Luck 


p.s: couple of points:

 - Kubuntu and Ubuntu are same...almost. you can install KDE on Ubuntu or directly install Kubuntu.
 - i tested this steps and it worked for me.
 - i should have put some picture to make it more clear...blame me
 - i tried to be clear, if it wasn't, blame someone else
 - if you could follow these steps and then you see OS selection menu, then buy yourself a candy...:)
 - if you see an error, or if you know a better working way to achieve this, let the others know by sharing your experience.