RPSC Programmer Topic Wise Test - 2024: Time: 02.00 Hours Questions: 100 Negative:0.33
RPSC Programmer Topic Wise Test - 2024: Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 01 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 02 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
(C) Provide public getter and setter methods for private instance variables
(D) Use only static methods and variables
Q.14. Which of the following statements about constructors in Java is true?
(A) A constructor can have a return type (B) A constructor cannot be overloaded
(C) A constructor can call methods (D) A constructor can be inherited
Q.15. What does the keyword this refer to in Java?
(A) Current class instance (B) Superclass instance
(C) Subclass instance (D) Previous class instance
Q.16. Which of the following is not a valid method of Object class in Java?
(A) equals() (B) hashCode()
(C) toString() (D) copy()
Q.17. What does the static keyword indicate in Java?
(A) The method can be called without creating an instance of the class
(B) The method can only be called from within the same class
(C) The method cannot be overridden
(D) The method is synchronized
Q.18. Which of the following is true about method overloading in Java?
(A) Method overloading allows methods to have the same name but different return types
(B) Method overloading allows methods to have different names but the same parameters
(C) Method overloading allows methods to have the same name and parameters but different return types
(D) Method overloading is not allowed in Java
Q.19. In Java, what is the default value of an instance variable?
(A) 0 (B) null (C) false (D) undefined
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 03 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Q.20. Which of the following statements about abstract classes in Java is true?
(A) An abstract class can be instantiated
(B) An abstract class cannot have any abstract methods
(C) An abstract class can extend multiple classes
(D) An abstract class can contain both abstract and non-abstract methods
Q.21. Which type of class cannot be instantiated and is used as a blueprint for other classes?
(A) Final class (B) Abstract class
(C) Concrete class (D) Static class
Q.22. Which type of class allows for the creation of multiple objects and contains a complete
implementation?
(A) Final class (B) Abstract class
(C) Concrete class (D) Static class
Q.23. Which type of class can have only static members and cannot be instantiated?
(A) Final class (B) Abstract class
(C) Concrete class (D) Static class
Q.24. Which type of class serves as a template for other classes and may contain one or more abstract
methods?
(A) Final class (B) Abstract class
(C) Concrete class (D) Static class
Q.25. Which type of class can have both abstract and non-abstract methods?
(A) Final class (B) Abstract class
(C) Concrete class (D) Static class
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 04 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Q.26. Which type of class can contain only static methods and variables?
(A) Final class (B) Abstract class
(C) Concrete class (D) Static class
Q.27. In Java, what is the purpose of a final class?
(A) To prevent method overriding (B) To prevent class inheritance
(C) To prevent method overloading (D) To prevent object creation
Q.28. Database table by name Loan_Records is given below.
Borrower Bank_Manager Loan_Amount
Ramesh Sunderajan 10000.00
Suresh Ramgopal 5000.00
Mahesh Sunderajan 7000.00
What is the output of the following SQL query?
SELECT Count(*)
FROM ( ( SELECT Borrower, Bank_Manager
FROM Loan_Records) AS S
NATURAL JOIN ( SELECT Bank_Manager, Loan_Amount
FROM Loan_Records) AS T );
(A) 3 (B) 9
(C) 5 (D) 6
Q.29. Consider the following relational schema:
Suppliers(sid:integer, sname:string, city:string, street:string)
Parts(pid:integer, pname:string, color:string)
Catalog(sid:integer, pid:integer, cost:real)
Consider the following relational query on the above database:
SELECT S.sname
FROM Suppliers S
WHERE S.sid NOT IN (SELECT C.sid
FROM Catalog C
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 05 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 06 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 08 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Q.43. In SQL, what is the difference between CHAR and VARCHAR data types?
(A) CHAR is fixed length, VARCHAR is variable length
(B) CHAR is variable length, VARCHAR is fixed length
(C) No difference
(D) VARCHAR is used only for numeric data
Q.44. Identify the error in
"ALTER TABLE Students DROP COLUMN DateOfBirth date;"
(A) ALTER TABLE (B) DROP COLUMN
(C) Date Of Birth (D) date
Q.45. In "ALTER TABLE Students ADD COLUMN Email varchar(50),
what is missing for this statement to be correct?
(A) ADD COLUMN (B) Email
(C) varchar(50) (D) All Correct
Q.46. In "UPDATE Employees SET Age = Age + 1 WHERE Department IN ('Sales', 'HR') AND Age >=
30;",
identify the error.
(A) The IN operator (B) The AND operator
(C) No error (D) The SET keyword
Q.47. How does the DEFAULT constraint function in SQL?
(A) It provides a default value for a column when no value is specified
(B) It sets default permissions for users
(C) It creates default tables
(D) It sets default sorting for data
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 011 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 012 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
(A) @ (B) $
(C) 8 (D) +
Q.56.Two positions of dice are shown below. How many points will appear on the opposite to the face
containing 5 points?/ पासे की दो चथिचतयााँ नीिे चदखाई गई हैं। 5 च िंदओ
ु िं वाले फलक के चवपरीत चकतने च िंदु चदखाई देंग?े
(A) 3 (B) 1
(C) 2 (D) 4
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 013 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Q.57. How many points will be on the face opposite to in face which contains 2 points?/ चिस फलक पर 2 च दिं ु
हैं उसके चवपरीत फलक पर चकतने च िंदु होंगे?
(A) 1 (B) 5
(C) 4 (D) 6
Q.58. Which number is on the face opposite to 6?/ 6 के चवपरीत फलक पर कौन सी सिंख्या है?
(A) 4 (B) 1
(C) 2 (D) 3
Q.59. From the four positions of a dice given below, find the color which is opposite to yellow ?/ नीिे चदए गए
पासे की िार चथिचतयों में से वह रिंग ज्ञात कीचिए िो पीले रिंग के चवपरीत है?
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 014 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Q.61. If A + B means A is the mother of B; A - B means A is the brother B; A % B means A is the father of
B and A x B means A is the sister of B, which of the following shows that P is the maternal uncle of Q?/ यचद
A + B का अिथ है A, B की मााँ है; A - B का अिथ है A, B का भाई है; A % B का अिथ है चक A, B का चपता है और A x B का
अिथ है चक A, B की हन है, चनम्नचलचखत में से कौन सा दशाथता है चक P, Q का मामा है?
(A) Q - N + M x P (B) P + S x N - Q
(C) P - M + N x Q (D) Q - S % P
Q.62. If A is the brother of B; B is the sister of C; and C is the father of D, how D is related to A?/ यचद A, B
का भाई है; B, C की हन है; और C, D का चपता है, D, A से चकस प्रकार सिं िंचित है?
(A) Brother (B) Sister
(C) Nephew (D) Cannot be determined
Q.63. If A + B means A is the brother of B; A - B means A is the sister of B and A x B means A is the father
of B. Which of the following means that C is the son of M?/ यचद A + B का अिथ है A, B का भाई है; A - B का अिथ
है चक A, B की हन है और A x B का अिथ है चक A, B का चपता है। चनम्नचलचखत में से चकसका अिथ है चक C, M का पत्रु है?
(A) M - N x C + F (B) F - C + N x M
(C) N + M - F x C (D) M x N - C + F
Q.64. Introducing a boy, a girl said, "He is the son of the daughter of the father of my uncle." How is the boy
related to the girl?/ लड़की ने एक लड़के का पररिय देते हए कहा, "यह मेरे िािा के चपता की ेटी का ेटा है।" लड़का लड़की से
चकस प्रकार सिं िंचित है?
(A) Brother (B) Nephew
(C) Uncle (D) Son-in-law
Q.65. 1857 के चवद्रोह के समय आउआ के ठाकुर कुशालचसिंह को मेवाड़ के चकस थिान के सामन्त ने अपने यहािं शरण दी
(A) कोठाररया (B) सलम्ू र
(C) आसोप (D) आसींद
Q.66. 1857 के चवद्रोह के दौरान, मेिर टथन और उसके दो पत्रु कहािं पर मारे गए िे
(A) नसीरा ाद (B) नीमि
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 015 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 016 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 019 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 020 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com
RPSC PROGRAMMER TOPIC WISE TEST – 2024
test NUMBER -03
Time: 02.00 Hours Questions: 100 Negative:0.33
Ridhi-Sidhi Circle In Front of Mangalam Electronic Mall Near By IOC Petrol Pump
Page 021 of 021
MOB: 7014528940 / 8949174075 www.infiqueclasses.com