Arab Open University, Beirut**We aren't endorsed by this school
Course
CS TT284
Subject
Computer Science
Date
Dec 23, 2024
Pages
8
Uploaded by DoctorBook27323
Page 1of 8Part I: MCQ questions (15 marks) This part consists of 10 MCQ questions carrying a WEIGHT OF 2 marks each. You must answer ALL of the following questions by writing the correct answer code (20 Marks) 1-In the context of the course material, XSL stands for a)Extensible style sheet language b)Extensible markup language c)Extensible server language d)None of the above 2-Considering Client-Server structure, Front-end refers to : a)Server b)Client c)Modem d)Connection 3-Elements usually have associated properties; these properties are called: a)Properties b)Elements c)Styles d)Attributes 4-All the following are Neilsen’s quality components EXCEPT: a)Learnability b)Errors c)Satisfaction d)Mobility
Page 2of 85-The Tag used to define a PHP Script is: a)<?php ?> b)<script php> c)a and b are correct d)None of the above 6-SQL stands for: a)Script Query Language b)Source Query Language c)Structured Query Language d)Solid Query Language 7-The PHP code used to define the variable (speed): a)&speed b)$speed c)*speed d)None of the above 8-To print the text “I like this course”using PHP, we use: a)Document.write(“I like this course”)b)Echo (“I like this course”)c)Document.echo(“I like this course”)d)(a & c) are correct
Page 3of 89-The term Downtime refers to: a)The total time that a system is unavailable b)The total time that a system is available c)The total time required to transfer a webpage d)None of the above 10-The first and the last phases in the waterfall lifecycle model are: a)User requirements , operations and maintenance b)User requirements , Architectural design c)Operations and maintenance , Software requirement d)Detailed design , User requirement
Page 4of 8Part II: Short questions (12 marks) This part consists of 3 questions carrying a WEIGHT OF 4 marks each. You must answer all questions. Question 1: List the four principles of web accessibility. 1) Perceivable 2) Operable 3) Understandable 3) Robust --------------------------------------------------- Question 2: What is the main difference between HTML and XML? The main difference between HTML and XML, however, is that HTML focuses on displaying information and on how it looks, whereas XML also describes the information. The most important feature of XML over HTML is that in XML there are no predefined tags and so authors have the absolute flexibility to specify their own. This is useful when creating descriptive tags --------------------------------------------------- Question 3: Differentiate between Native App and Mobile Web App Native applications are applications that ran on a mobile device, these native apps were designed For specific types of device such as iPhones, Android phones or Windows phones. Mobile Web Apps they are website based, do not need to be made in different versions for different makes and types of mobile devices. ---------------------------------------------------
Page 5of 8Part III: Long questions (18 marks) This part consists of 3 questions carrying a WEIGHT OF 6 marks each. You must answer all questions. Question 1 Considering the iPhone 5, suppose that the height of the screen is 640 pixel widths and the width of the screen is 960 pixel widths and the screen size is 3.5 inches. Calculate the resolution of the screen in pixels per inch across the diagonal. Using Pythagoras’s theorem √(960 x 960 + 640 x 640) = 1154 pixels widths lengthTo find the resolution then, we divide the diagonal length in pixel widths (1154) by the length in inches (3.5) = 330 pixels per inch across the di-agonal --------------------------------------------------- Question 2 List any four problems of using mobile devices to access websites Pixel size 1-Pixel size We can get very different viewing experiences when looking at a website using mobile devices that have different screen sizes (in pixels). 2-Touch-screen input Touch-screen input devices are mobile devices, particularly those that are referred to as smart devices, use touch-screen as their in-
Page 6of 8put device. Normal websites designed for use by a pointing device such as a mouse are ill-suited to touch-screen devices. 3-Processor power Mobile devices tend to have processors that are less powerful than desktop or laptop computers. This means that they may seem slow when browsing a media-heavy website that uses for example, lots of video. 4-Small keyboard Many of the mobile devices have very limited size keyboards. If the website requires text entry, this can be a tedious business on a mo-bile device. One of my passwords is 12 characters long and that can require multiple attempts to enter correctly using my phone’s touch-screen keyboard. 5-Limited capabilities Some mobile browsers have limited capabilities and because of this some parts of websites just don’t work. The classic example is that of the iPhone and early versions of Android smart phones which couldn’t play any Flash video files, so websites that use Flash look very different on these mobile devices compared with how they look on a desktop PC. 6-Some website navigational and usability features won’t workMany websites use a technique called ‘mouseover’ where a mes-sage is displayed if the pointer controlled by the mouse lingers, or hovers, over features in the website. Alternatively, hovering could cause a menu to pop up. This can be a big aid to usability but is not available on touch-screen phones. ---------------------------------------------------
Page 7of 8Question 3: Briefly describe each of the four test phases on the V-model life-cycle and draw it? The creation of tests plans is an integral part of project definition that provides verification of the design and helps to ensure an application fulfils its requirements. The right-hand side of the V-model corresponds to building and testing the application; starting with the individual units and working up through the various stages of integration to the completed system. Managing each phase of testing requires identification of what is to be tested, which does the testing, and how the results of the tests are collated and communicated.
Page 8of 8Large projects often have support from a dedicated test team who will prepare and execute the tests and track defects. Smaller projects typically share the work amongst the development team.The normal sequence of development would be to start with the specification of acceptance tests and work downwards to the unit tests.