GATE 2005 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2005

203 questions

MCQ 2031-mark 203

Questions 201–203 of 203

Q201Software Engineering1 markMCQ−0.33 if wrong
The Function Point (FP) calculated for a software project are often used to obtain an estimate of Lines of Code (LOC) required for that project. Which of the following statements is FALSE in this context.

Q202Web Technology1 markMCQ−0.33 if wrong
Given below is an excerpt of an xml specification.
<!DOCTYPE library SYSTEM "library.dtd">
<Book>
<title> GATE 2005 </title>
<type value = "BROCHURE"/>
<accno>10237623786</accno>
</Book>
<Book>
<type value = "FICTION"/>
<accno>0024154807</accno>
</Book>

Given below are several possible excerpts from "library.dtd". For which excerpt would the above specification be valid?
A. <!ELEMENT Book (title+, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type EMPTY>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ELEMENT accno (#PCDATA)>

B. <!ELEMENT Book (title?, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type ATTLIST>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ATTLIST accno value (#PCDATA)>

C. <!ELEMENT Book (title*, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type ATTLIST>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ELEMENT accno (#PCDATA)>

D. <!ELEMENT Book (title?, type, accno)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT type EMPTY>
   <!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
   <!ELEMENT accno (#PCDATA)>

Q203Web Technology1 markMCQ−0.33 if wrong
A HTML form is to be designed to enable purchase of office stationery. Required items are to be selected (checked). Credit card details are to be entered and then the submit button is to be pressed. Which one of the following options would be appropriate for sending the data to the server. Assume that security is handled in a way that is transparent to the form design.