100% found this document useful (1 vote)
1K views6 pages

CS420 Sample Paper (Final)

Uploaded by

aqsada24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views6 pages

CS420 Sample Paper (Final)

Uploaded by

aqsada24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Paper Time [90 minutes]

CS420 – Web Development for Portable Devices

Final Term Spring 2023 (Sample Paper)

MCQs
Take an assessment.
Question#1
We define a _______ at the top where we will display the screen coordinates of the most recent
touch.
A. Div
B. Heading
C. Br
D. Href

Question#2
To do something with the touch data, we add a ______ function.
A. Catch
B. Handler
C. Open
D. Close

Question#3
How many coordinates of the touch we can grab in touchHandler function?
A. 2
B. 10
C. 18
D. 26

Question#4
Coordinates of the touch in touchHandler are written in ______ div.
A. Heading
B. Href
C. Coords
D. Br

Question#5
We can display the screen coordinates of the most recent touch by defining div at the ______.
A. top
B. down
C. left
D. right

Question#6
To handle all types of events like mouse, touch and pen events, we have to write the code_______ for
each.
A. Touch events
B. Mouse events
C. Pen events
D. Separately
Question#7
Pointer events include:
A. Touch events
B. Delete events
C. Update events
D. Insert events
Question#8
Pointer events model is proposed by___________.
A. Tesla
B. Microsoft
C. IBM
D. Intel
Question#9
_____________API was defined in terms of Touches.
A. Delete events
B. Create events
C. Update events
D. Touch events
Question#10
_____________API is defined in terms of Pointers.
A. Create events
B. Update events
C. Delete events
D. Pointer events
Question#11
Pointer is defined for _________ devices.
A. Input
B. Output
C. Both Input and Output
D. IoT
Question#12
Pointer attribute is __________.
A. pointer
B. pointerId
C. screen
D. screenId
Question#13
Pressure is a pointer attribute that means _______________.
A. Pressure of contact on screen
B. Pressure of contact on pointer
C. Pressure of contact on width
D. Pressure of contact on height
Question#14
To present the class of pointer, we used __________.
A. Pointer
B. PointerId
C. PointerPressure
D. PointerType
Question#15
To present the main Pointer for a pointer type, we use ___________.
A. PointerType
B. PointerPressure
C. IsPrimary
D. IsSecondary
Question#16
Which of the following is event type?
A. Pointerenter
B. Pointerexit
C. Pointercreate
D. Pointerdelete
Question#17
When an element becomes target of pointer, we use _________.
A. Got
B. Gotpointer
C. Gotpointercatch
D. Gotpointercapture
Question#18
When element loses pointer capture, we use _________.
A. Lost
B. Lostpointer
C. Lostpointercatch
D. Lostpointercapture
Question#19
Polyfill library refers to a ________ library.
A. JavaScript
B. HTML
C. PHP
D. CSS
Question#20
While entering data using any input entry method, data should be ________.
A. Visible
B. Not visible
C. Same
D. Not same
Question#21
Which of the following font size data will be difficult to enter?
A. Small
B. Large
C. Both small and large
D. Medium
Question#22
Input entry should be ________ for all the users.
A. Difficult
B. Easy
C. Both difficult and easy
D. Moderate
Question#23
Which of the following is not an input type in HTML5?
A. Date
B. Week
C. Month
D. Decade
Question#24
Which of the following syntax is used for the most common input type?
A. <input type="text">
B. <input type="">
C. < type tel="text">
D. <input email ="text">
Question#25
Which of the following syntax is used for the input type as email?
A. <input type="email">
B. <input type="">
C. < type text="email">
D. <input enter="email">
Question#26
We get a @ sign as well as the .com by using the input type as________.
A. Text
B. Radio button
C. Hidden field
D. Email
Question#27
Entering an email on the standard keyboard is _________.
A. Easy
B. Difficult
C. Not possible
D. Not allowed
Question#28
______ Input provides the user with ability to add the numbers.
A. Email
B. Text
C. Tel
D. Radio button
Question#29
We can add *, # , + signs by using input type as _____.
A. Tel
B. Text
C. Email
D. Hidden field
Question#30
Which of the following syntax is used for the input type as Tel?
A. <input type="">
B. <input type="tel">
C. <input enter="tel">
D. <type text="tel">
Question#31
Which of the following Input types is used to enter the date on a Webpage?
A. Tel
B. Date
C. Email
D. Text
Question#32
Which of the following input type is used to enter date and time?
A. <input type="time">
B. <input type="date">
C. <input type="datetime">
D. <input text="datetime">
Question#33
Which of the following can be used for client side validation?
A. Pattern attribute
B. Tel attribute
C. Text attribute
D. Email attribute
Question#34
Which of the following syntax is used for the input type as Password?
A. <input type="password">
B. <input password="type">
C. <type enter="password">
D. <input type="enterpassword">
Question#35
How can we apply the limit on password that must contain 8 or more characters?
A. Pattern =”.{8,}”
B. Pattern =”8.{password}”
C. Pattern =”password8.{}”
D. Pattern.8 =”.{password}”
Question#36
To increase the touchable area of the control, we can ____ label elements around input elements.
A. Modify
B. Delete
C. Wrap
D. Both modify and delete
Question#37
Which of the following URL is used to dial a telephone number?
A. Telecolon
B. Telephone
C. Telenumber
D. Telephonenumber
Question#38
Which of the following URL typically fail on a desktop to dial a telephone number?
A. Telephone
B. Telenumber
C. Telephonenumber
D. Telecolon
Question#39
Which of the following is the correct syntax of the accept attribute?
A. <input type="file" file="image/*">
B. <input type="accept" accept="file/*">
C. <input type="file" accept="image/*">
D. <input type="file" image="file/*">
Question#40
Which of the following API is used to get Live Input?
A. GetUserMedia
B. GetLiveUserMedia
C. GetLiveMedia
D. GetLive

Subjective Questions (3 Marks)

Question#1
Define a touch-sensitive div to which you can attach an event listener and also define a div at the top
where you will display the screen coordinates of the most recent touch.
Question#2
What are Pointer Events, and write their description as well?
Question#3
Write any three pointer attributes.
Question#4
Write any three event types.
Question#5
Write touch handler guide lines.
Question#6
What are virtual keyboards?

Subjective Questions (5 Marks)

Question#1
Write any five input type names in HTML5.
Question#2
Write at least three important features of input.
Question#3
What is Telecolon URL, and write its syntax?
Question#4
Write any five sensor names that can be found today in mobile phones.

You might also like