iGET

Computer Knowledge - MCQ Practice Questions

Computer Science questions in competitive exams stay close to fundamentals, which is good news if you revise the right five subjects. Coverage includes data structures, algorithms and complexity, operating systems, database management systems, computer networks, and computer organisation. Explanations show the trace or the state table where one helps, since seeing the intermediate steps is what makes the concept stick.

304 questions | 100% Free

Q.201Medium

What is the primary difference between malloc() and calloc() functions in C?

Q.202Medium

If arr[5] = {1, 2, 3, 4, 5}, what will be the value of *(arr + 3)?

Q.203Easy

Which header file must be included to use the printf() function in C?

Q.204Medium

Consider a structure: struct Point { int x; int y; }; If p is a pointer to this structure and we want to access member x, which notation is INCORRECT?

Q.205Easy

Which normal form eliminates transitive dependencies in a database table?

Q.206Easy

What is the time complexity of a binary search algorithm on a sorted array?

Q.207Easy

Which SQL command is used to remove a table structure along with its data?

Q.208Easy

In a hash table, what is the primary cause of collision?

Q.209Easy

Which of the following is NOT a characteristic of a relational database?

Q.210Easy

What does the acronym ACID stand for in database transactions?

Q.211Medium

Which data structure is best suited for implementing a priority queue?

Q.212Medium

In SQL, what is the difference between INNER JOIN and LEFT JOIN?

Q.213Medium

Which cloud service model provides virtualized computing resources over the internet?

Q.214Medium

What is the primary purpose of database indexing?

Q.215Medium

In cybersecurity, what does encryption primarily protect against?

Q.216Medium

Which sorting algorithm has the best average-case time complexity?

Q.217Medium

What is the primary function of a query optimizer in a DBMS?

Q.218Medium

In machine learning basics, what is the purpose of training data in AI models?

Q.219Hard

What is a deadlock in database management?

Q.220Hard

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