Dmu Exit Exam Model
Dmu Exit Exam Model
1. One of the following is not the reason for the need of query optimization?
C) To maximize throughput
2. Which one of the following subnet masks represents class A before and
after subnetting?
A) 255.0.0.0
B) 255.255.0.0
C) 255.255.255.0
D) all
3. For recovery purposes, the transaction processing system not needs to keep
______________?
D) Transaction status(committed/aborted)
E) none
4. Identify the correct statement based on the code snippet given below.
C) the text hello won’t be written to xyz.txt file, if the file does not exist
5. Based on the html code given below identify the correct statement. Given
Code:
Hello Everyone
in red color
6. Among the following one is the process of analyzing the given relation
A) Decomposition
B) Normalization
C) Partitioning
D) Distributing
7. Which one of the following PHP functions is used to execute SQL queries?
A) mysqli_select_db()
B) mysqli_fetch_assoc()
C) mysqli_execute_query()
D) mysqli_query()
A) Query execution
B) Query plan evaluation
C) Query optimization
D) Query parsing
A) private
B) static
C) public
D) string
10. Suppose String S=null; then what type of exception will occur when we
A) ArithmeticException
B) OutOfMemoryError
C) NumberFormatException
D) NullPointerException
11. Among the following one describes the functional dependency between
12. The built-in base class in Java, which is used to handle all exceptions is:
A) Exception
B) Runtime Exception
C) Checked Exceptions
D) Unchecked Exception
13. Which mode of transmission the entire capacity of the channel can be
A) Simplex
B) Half duplex
C) Full duplex
D) all except A
____ reason?
A) It is cascading free
C) It guarantees serializability
D) None of them
15. Which of the following keyword is used to refer the member of base
A) base
B) super
C) this
D) upper
16. Which one of the following scheduling algorithms is both preemptive and
non-preemptive?
A) Round Robin
B) Priority
C) FCFS
D) SJF
17. Which one of the following statements is False about segmentation and
paging?
D) To map each page into frames we need a special data structure called
page table
A) Isolated
B) Atomicity
C) Consistency
D) Durability
19. Which one of the following statements is the right way of creating a
A) createcookie(“product”,”smart
phone”,time()+(60*60*14),”/”,”localhost”,0);
B) setcookie(“product”,”smart
phone”,time()+(60*60*2*24),”/”,”localhost”,0);
C) setcookie(“product”,”smart
phone”,time()+(60*60*24*14),”/”,”localhost”,0);
D) setcookie(“product”,”smart
phone”,time()+(60*60*24),”/”,”localhost”,0);
20. Which one of the following statements is the correct way of defining a
modified?
A) final
B) last
C) constant
D) static
23. which one of the following is the result of the following PHP code? Given
A) 20
B) 18
C) 16
D) 15
int i = 0;
while (i < 4) {
i++;
i *= i;
System.out.println(i);
A) 9
B) 81
C) 27
D) 3
25. Which of the following is true about Java static methods and instance
methods?
A) Instance methods belong to the class rather than the object of a class.
instance of a class.
C) A static method can access static data member and can change the
value of it.
be called.
26. From the following list of Java variables; which one is invalid?
A) EMP_Salary
B) Age27
C) My-Name
D) _1200IDN
27. If a process runs, out of the extra space allocated to it, then which action
D) All
28. One of the following is true about relational database data model?
29. Which layer allows an IP packet to make a physical link to the media?
A) Internet layer
C) Transport layer
D) Application layer
30. Which one of the following is the correct way of creating a PHP variable?
A) int stud_age=20;
B) $stud-age=20;
C) stud_age=20;
D) $_age=20;
31. Which one of the following statements is True about operating systems
as an I/O manager?
C) Provide an interface between the device and the rest of the system.
D) All
32. Features of Java used to handle more than one job at a time.
A) Distributed
B) Platform-Independent
C) Portable
D) Multi-threaded
A) Robust
B) Structured
C) Distributed
D) High Performance
34. _______is methods assume conflict is rare and only checks for conflicts
at commit/terminate time?
A) Shared Locking
B) Optimistic
C) Time stamping
D) Executive locking
A) E-R diagram
B) Entity
C) Relationship
D) constraints
36. Which one of the following is used for only local communication in
private network?
A) 172.16.6.2
B) 10.123.16.145
C) 192.168.14 23
D) All
37. Which one of the following PHP functions is used to redirect a user to a
specific page?
A) Send_redirect()
B) header_location()
C) header()
D) redirect()
38. Which wireless security method generates new keys each time when a
D) Traffic Filtering
A) if…else if
B) for loop
C) nested if
D) if…else
40. Which connectivity device packets send to all connected device at the
same time?
A) Switch
B) router
C) Hub
D) Bridges
A) Several classes can be declared as sub classes of the same super class
E) none
42. Among the following lists one doesn’t describe a field in a relation?
A) Record
B) Attributes
C) Column
D) All of them
E) none
44. Which mode of transmission the entire capacity of the channel can be
utilized for each direction?
A) Simplex
B) Half duplex
C) Full duplex
D) all except A
45. In a schedule S with two transactions T1 and T2, T1 reads the data item
A) Recoverable
B) Conflict serializable
C) Non-recoverable
D) Serial
A) void
B) protected
C) public
D) private
47. An entity that cannot stand by itself or that cannot have a record unless
A) strong Entity
B) Weak entity
C) dependent entity
D) Independent
48. One of the following is/are the recovery technique from catastrophic
failures?
A) Undo
B) Backup
C) Redo
D) Encryption
50. Which one of the following wireless transmission systems the sending
A) Microwave
B) Radio waves
C) Infrared waves
D) Bluetooth
51. Which one of the following statements is True about operating systems?
on the bottom.
software resources.
system.
52. Which Java statement always executes its body at least once, even though
B) do-while
C) while
D) continue
53. Unshielded twisted pair cable that is used for 16 Mbps Token Ring is ---
------------------
A) Category 5
B) Category 6
C) Category 4
D) Category 3
54. Given a class named Student, which of the following is a valid constructor
A) Constructor Student ( ) { }
B) public Student ( ) { }
C) Student Student ( ) { }
D) Void Student ( ) { }
run.
A) PHP
B) Servlet
C) JSP
D) HTML
56. What happens if several catch blocks match the type of the thrown
exception?
A) All the catch blocks for that try statement are executed in order.
B) The first catch block is executed and the others are skipped.
C) All the catch blocks for that try statement are skipped.
D) The program will terminate without executing any of the catch blocks.
57. What will happen when we run the following segment of Java code?
public static void main(String args[]){ int i; int []a={3,4,0,5}; for( i=3;i>=0;i-
B) 10 7 0 6 will be printed
D) 10 7 0 6 3 4 0 5 will be printe
58. ______is s a problem which occurs when two transactions access the
A) Loss Update
B) Incorrect summery
C) Temporary read
D) Unrepeatable read
60. Which one of the following is wrong about structural and object-oriented
programming paradigms?
B) In inheritance the sub class can introduce its own specific variables
C) A super class can access its own sub classes unique data members
62. Which one of the HTML5 attributes makes a text box inactive to edit? A.
B. C. D.
A) required
B) pattern
C) read-only
D) disable
63. which one of the following syntaxes is the correct way of defining a
function in PHP?
64. Which layer allows an IP packet to make a physical link to the media?
A) Internet layer
C) Transport layer
D) Application layer
B) Local variables
C) Return addresses
66. Which one of the following is the output of the given program? $m) {
A) 0134
C) 2
D) SeptOctDecJan
67. Choose the lists of the keywords in order that they would be used to
B) Serializability
69. Based on the code snippet given below, which one of the following
statements allow you to assign an email submitted from the form to a variable
called email? UserEmail
Submit
A) $email= $_GET[“email”];
B) $email= $_POST[“email”];
C) echo $_REQUEST[“email”];
D) $email= $_REQUEST[“UserEmail”];
70. Which one is false about abstract class and interface in Java?
error information
specific platform.
A) NetBeans
B) JVM
C) JDK
D) JRE
not
74. Based on the above question #13, what is the broadcasting address for
subnet #2?
A) 178.191.0.255
B) 178.191.255.255
C) 178.191.12.255 #bones
D) 178.191.1.255
A) document.write()
B) out.print()
C) print()
D) write()
76. One of the following is not consider in cost estimation during query
optimization?
A) Input/Output cost
B) Communication cost
D) Device cost
77. Which one is the right name given for unique identification of each
entity?
A) Composite Key
B) Primary Key
C) Foreign key
D) Candidate Key
78. Which types of switching each node receives the entire message, stores
A) Circuit Switching
B) Packet Switching
C) Message Switching
D) all
B) Both NRZ-L and NRZ-I changes voltage level when different bit is
encountered
B?
A) interface A implements B {}
B) class B implements A {}
C) class B extends A {}
D) interface B extends A {}
called……………………………?
A) Noise
B) Attenuation distortion
C) Delay distortion
D) B and C
A) nextInt()
B) next()
C) nextLine()
D) nextString()
transactions to possess certain properties. The property which makes sure that
the partial effects of incomplete transactions should not visible to the other
transactions is called__________?
A) Atomicity
B) Isolation
C) Consistency
D) Durability
A) Repeatable read
B) Dirty read
C) Phantom read
D) Conflict read
C) Constructors have the same name as class name and can return values
D) A class can’t have more than one constructor
A) String
B) long
C) Boolean
D) int
87. Which of the following OOP concept binds the code and data together
A) Polymorphism
B) Inheritance
C) Abstraction
D) Encapsulation
88. ______is a rule of no component of the primary key may contain a NULL
value.
A) Entity integrity
B) Referential integrity
C) Domain Integrity
D) Cardinal integrity
89. Software and hardware that uses hypertext Transfer Protocol to respond
A) ile server
B) mail server
C) web server
D) A and C
C) C. In java new operator used to declare variable that used to store single
value
91. One of the following is false about Java database connectivity (JDBC)
A) It allows you to create Java application that can access data from
servers.
D) Different database systems can use the same JDBC driver, which used
92. A class declaration that begins with the keyword ____________ must be
stored in a file that has exactly the same name as that class and ends with the
A) private
B) final
C) public
D) abstract
A) outside program
B) inside function
C) outside function
D) None Of the Above
94. One of the following is not the end result of abstraction in OOP?
A) Possible attributes
B) Possible methods
C) Possible class
A) Polymorphism
B) Inheritance
C) Encapsulation
D) Abstraction
96. Which one of the following database models under record database model
category?
D) all of them
D.
A) .php
B) .hphp
C) .xml
D) .html
98. Which coding transition is at the middle of the bit and changes phase
B) Manchester
C) Delta modulation
99. Which method execute first when you run Servlet code?
A) Service ( )
B) destroy ( )
C) init( )
D) start( )
100. Which one of the following statements is wrong about a web page?
A) The content of a static web page can only change if the source code is
changed.
actions.
C) An application that collects data from users through a form and stores
transmission media?
A) Application layer
B) Internet layer
D) transport layer
104. Which one of the following statements is True about process state
transition?
state
D) all
105. Which of the following primitive data types is not Integer type?
A) byte
B) double
C) int
D) short
B) quit
C) break
D) exit
event of failure?
A) Journaling
B) View
C) Backup
D) Encryption
108. Which of the following is not common member to both abstract classes
and interfaces?
A) static variables
B) final variables
C) private members
D) abstract methods
109. Assume Mr. Daniel is running different applications at the same time
like browsing the internet while preparing his assignment, so which type of
A) ROTS
B) Multi-tasking
C) Multi-user
D) DOS
110. Which one of the following is not necessary condition for deadlock to
occurred?
B) Mutual inclusion
C) No- preemption
D) Circular wait
Send Answ er