Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Mockwarriors DPP 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Mockwarriors

Topic Test – Daily Practice Paper 1 (Mixed Practice Set)


Specially Design For RPSC Programmer Exam
Time – 15 Minutes. Telegram- @Mockwarriors_itexam www.MOCKWARRIORS.com

Q1. Which of the following is true?


1. A class can extend more than one class.
2. A class can extend only one class but many interfaces.
3. An interface can extend many interfaces.
4. An interface can implement many interfaces.
5. A class can extend one class and implement many interfaces.
a) 1 and 2
b) 2 and 4
c) 3 and 5
d) 3 and 4

Q2. Given Relation Mockwarrios( WE, ALL, ARE, Future, Programmer), if Every Two Attribute of the Given
relation makes Candidate Key Then Find Total Number of SuperKeys ?
a) 10
b) 18
c) 31
d) 26

Q3. Which of the following is true?


1. Every Strict Sechdules are Cascadless and Consistent
2. if a sechdule is conflict Serializable then that sechdule must be recoverable.
3. All Consistent Sechdule are recoverable.
a) Only 1
b) 1 and 3
c) Only 2
d) all 1, 2, 3

Q4. Find the Output of the Following code:


public class Mockwarrios{
public static void main(String[] args) {
switch(15){
case 'c': System.out.println("Welcome");break;
case 15: System.out.println("To");break;
case 0x142: System.out.println("Mockwarriors");break;
case 017: System.out.println("Club");break;
default:System.out.println("Not intersted");
}
}
}
a) To
b) Mockwarrios
c) Club
d) Error

Q5. Find the Output of the Following code:


public class Mockwarrios{
public static void main(String[] args) {
switch(17){
case 'c': System.out.println("Welcome");break;
case 16: System.out.println("To");break;
case 021: System.out.println("Mockwarriors");break;
case 0x142: System.out.println("Club");break;
default:System.out.println("Not intersted");
}
}
}
a) To
b) Mockwarrios
c) Club
d) Error

Q6. Find the Output of the Following code:


public class Mockwarrios{
public static void main(String[] args) {
switch(18){
case 'c': System.out.println("Welcome");break;
case 'C': System.out.println("To");break;
case 021: System.out.println("Mockwarriors");break;
case 0x142: System.out.println("Club");break;
default:System.out.println("Not intersted");
}
}
}
a) Not interested
b) Mockwarrios
c) Club
d) Error

Q7. IP address Below Belong to which Class:


P=201.19.14.152
Q=168.19.200.12
R=125.23.14.150
a) P is class A, Q is class C. R is class B
b) P is class C, Q is class B, R is class A
c) P is class A, Q is class B, R is class C
d) P is class C, Q is class A, R is class B
Q8. Go-Back N ARQ Supports:
a) Cumulative Acks
b) Individual Acks
c) Both a and b
d) None of the above

Q9. Total percentage of MULTICAST IP Address are:


a) 50%
b) 25%
c) 6.25%
d) 12.5%

Q10. Find the Output of the Following code:


public class Mockwarrios{
public static void main(String[] args) {
switch(2.0){
case 'c': System.out.println("Welcome");break;
case 2.0: System.out.println("To");break;
case 021: System.out.println("Mockwarriors");break;
case 0x142: System.out.println("Club");break;
default:System.out.println("Not intersted");
}
}
}
a) To
b) Mockwarrios
c) Club
d) Error

Answer Key will Be updated Here


Telegram- @Mockwarriors_itexam
www.MOCKWARRIORS.com

You might also like