iGET

Computer Knowledge - MCQ Practice Questions

Practice free Computer Knowledge multiple-choice questions with detailed answers and explanations. Perfect for competitive exam preparation.

304 questions | 100% Free

Q.41Hard

What will be the output of: int x = 5; int y = x++ + ++x; ?

Q.42Hard

What is the output of this recursive function? int func(int n) { if(n <= 1) return 1; return n * func(n-1); } printf("%d", func(4));

Q.43Hard

What is the output of this code involving bitwise operations? int x = 5; // binary: 0101 int y = 3; // binary: 0011 printf("%d", x ^ y); // XOR operation

Q.44Hard

What is a deadlock in database management?

Q.45Hard

Which of the following best describes eventual consistency in distributed databases?

Q.46Hard

In network protocols, which layer does TCP/IP operate at?

Q.47Hard

What is the primary vulnerability addressed by SQL injection prevention techniques like parameterized queries?

Q.48Hard

In the context of graph databases, what is the primary advantage over relational databases for relationship-heavy queries?

Q.49Hard

What does CAP theorem state in distributed systems?

Q.50Hard

In cybersecurity, what is a zero-day vulnerability?

Q.51Hard

What does BASE model in NoSQL stand for?

Q.52Hard

In database replication, what is the primary difference between synchronous and asynchronous replication?

Q.53Hard

Which of the following best describes a distributed transaction and its challenges in microservices architecture?

Q.54Hard

In cybersecurity, what is SQL injection and why is it a critical vulnerability in 2024?

Q.55Hard

What is the primary advantage of using GraphQL over traditional REST APIs in modern application architecture?

Q.56Hard

In a B-tree of order m, what is the maximum number of keys that a non-root node can contain?

Q.57Hard

In database normalization, what does the Boyce-Codd Normal Form (BCNF) address that 3NF might miss?

Q.58Hard

In distributed systems, what is a consensus algorithm primarily used for?

Q.59Hard

What is the primary challenge of implementing ACID properties in distributed databases?

Q.60Hard

In AI/ML, what is the role of activation functions in neural networks?