Computer Science MCQs · JAVA Which feature allows a subclass to provide its own implementation of a method defined in its superclass? A Method overloading B Method overriding Correct answer C Abstraction D Encapsulation MCQSEXAM Show answer Read explanation
Computer Science MCQs · JAVA Which method signature lets the JVM start a standalone Java application? A private static void main(String[] args) B public void main(String[] args) C public static void main(String[] args) Correct answer D public static int main(String[] args) MCQSEXAM Show answer Read explanation
Computer Science MCQs · Mobile Computing Which Android storage option suits small key-value settings such as a user's theme preference? A SharedPreferences Correct answer B External storage C Room database D Content Provider MCQSEXAM Show answer Read explanation
Computer Science MCQs · Mobile Computing In a 4G LTE network, the base station is called the: A gNodeB B NodeB C eNodeB Correct answer D BTS MCQSEXAM Show answer Read explanation
Computer Science MCQs · Mobile Computing Bluetooth Low Energy (BLE) is designed mainly for: A Cellular voice calls across national networks B Low-power short-range links for wearables Correct answer C Wired fast charging of mobile devices D High-speed video streaming over long distances MCQSEXAM Show answer Read explanation
Computer Science MCQs · Mobile Computing Which lifecycle method is called when an Android activity is first created? A onResume() B onRestart() C onStart() D onCreate() Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cybersecurity Which approach is best for storing user passwords? A A single fast hash such as MD5 or SHA-1 B Reversible AES encryption with one key C Base64 encoding before saving to the table D A slow salted hash such as bcrypt or Argon2 Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cybersecurity A phishing email personalised to target one specific person or organisation is called: A Spear phishing Correct answer B Smishing C Vishing D Clone phishing MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cybersecurity An attacker types SQL code into a login form to bypass authentication. What is the best primary defence? A Hiding database error messages from users B Encrypting database backups every night C Locking accounts after three failed logins D Parameterised queries (prepared statements) Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Computer Networks Which device works at OSI Layer 2 and forwards frames using MAC addresses? A Switch Correct answer B Router C Repeater D Hub MCQSEXAM Show answer Read explanation
Computer Science MCQs · Computer Networks Which protocol finds the MAC address that matches a known IPv4 address on a local network? A ICMP B DHCP C DNS D ARP Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Computer Networks How many usable host addresses does a /26 IPv4 subnet provide? A 30 B 64 C 126 D 62 Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cascading Style Sheets - CSS Which position value removes an element from normal flow and places it relative to its nearest positioned ancestor? A absolute Correct answer B sticky C relative D static MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cascading Style Sheets - CSS With box-sizing: content-box, an element has width 200px, padding 20px and a 5px border on each side. What is its total rendered width? A 250px Correct answer B 200px C 240px D 225px MCQSEXAM Show answer Read explanation
Computer Science MCQs · Cascading Style Sheets - CSS Which of these CSS selectors has the highest specificity? A #nav Correct answer B .nav C nav a D .nav a MCQSEXAM Show answer Read explanation
Computer Science MCQs · Dot NET Which .NET collection offers fast average-case lookup of values by key? A Queue<T> B LinkedList<T> C List<KeyValuePair<K, V>> D Dictionary<TKey, TValue> Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Dot NET What is the intermediate code generated by .NET language compilers called? A Native machine code B LLVM IR C CIL (MSIL) Correct answer D Java bytecode MCQSEXAM Show answer Read explanation
Computer Science MCQs · Dot NET In C#, which statement ensures an IDisposable object is disposed automatically at the end of a block? A lock B checked C using Correct answer D fixed MCQSEXAM Show answer Read explanation
Computer Science MCQs · JAVA Which exceptions must be either caught or declared in a throws clause? A Unchecked exceptions such as NullPointerException B Checked exceptions such as IOException Correct answer C Errors such as OutOfMemoryError D Runtime exceptions such as ArithmeticException MCQSEXAM Show answer Read explanation
Computer Science MCQs · JAVA Which Java collection does not allow duplicate elements? A Vector B ArrayList C HashSet Correct answer D LinkedList MCQSEXAM Show answer Read explanation
Computer Science MCQs · JAVA In Java, what does "Hello" == new String("Hello") evaluate to? A false Correct answer B true C A runtime exception D A compile-time error MCQSEXAM Show answer Read explanation
Computer Science MCQs · JAVA Which keyword prevents a method from being overridden in a subclass? A volatile B transient C abstract D final Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · JAVA What is the default value of an int instance variable in Java? A null B −1 C 1 D 0 Correct answer MCQSEXAM Show answer Read explanation
Computer Science MCQs · Mobile Computing In cellular networks, handoff (handover) refers to: A Encrypting voice before transmission B Moving an ongoing call to another cell Correct answer C Billing a user for roaming charges D Assigning a number to a new SIM card MCQSEXAM Show answer Read explanation
Computer Science MCQs · Mobile Computing Which file in an Android project declares the app's components and required permissions? A MainActivity.java B build.gradle C strings.xml D AndroidManifest.xml Correct answer MCQSEXAM Show answer Read explanation