Showing 31–40 of 50 questions
Which protocol is used for secure web communication?
A
HTTP
B
FTP
C
HTTPS
D
SMTP
Explanation:
HTTPS is HTTP with encryption/security using SSL/TLS protocols for secure communication
What is the main purpose of version control systems like Git?
A
To compress files
B
To track changes in code and enable collaboration
C
To encrypt code
D
To execute code
Correct Answer:
B. To track changes in code and enable collaboration
Explanation:
Version control systems track code changes over time and facilitate team collaboration by managing different versions
What is polymorphism in OOP?
A
Using multiple classes in one program
B
The ability of objects to take multiple forms
C
Creating multiple instances of the same class
D
Inheriting from multiple parent classes
Correct Answer:
B. The ability of objects to take multiple forms
Explanation:
Polymorphism allows objects to take multiple forms - same method name can behave differently in different contexts (method overriding, overloading)
Which of the following is NOT a characteristic of Cloud Computing?
A
On-demand self-service
B
Broad network access
C
Physical hardware always on-premises
D
Rapid elasticity
Correct Answer:
C. Physical hardware always on-premises
Explanation:
Cloud computing is characterized by remote resources, not physical hardware on-premises. All others are cloud characteristics
What does API stand for?
A
Application Programming Instruction
B
Application Programming Interface
C
Advanced Programming Integration
D
Application Process Integration
Correct Answer:
B. Application Programming Interface
Explanation:
API stands for Application Programming Interface - a set of rules that allows different applications to communicate
In machine learning, what is the purpose of cross-validation?
A
To increase model accuracy by 100%
B
To assess how well a model generalizes to unseen data
C
To reduce the size of the dataset
D
To remove outliers from data
Correct Answer:
B. To assess how well a model generalizes to unseen data
Explanation:
Cross-validation divides data into multiple subsets to evaluate model performance and check if it generalizes well
What is the primary difference between ArrayList and LinkedList in Java?
A
ArrayList is faster for random access; LinkedList is faster for insertion/deletion
B
LinkedList is faster for random access; ArrayList is faster for insertion/deletion
C
They have identical performance
D
ArrayList can only store integers
Correct Answer:
A. ArrayList is faster for random access; LinkedList is faster for insertion/deletion
Explanation:
ArrayList uses arrays (O(1) random access) while LinkedList uses nodes (O(n) random access but O(1) insertion/deletion at ends)
What is normalization in database design?
A
Converting data to uppercase
B
Reducing data redundancy and improving data integrity
C
Making all tables have the same structure
D
Splitting one database into multiple databases
Correct Answer:
B. Reducing data redundancy and improving data integrity
Explanation:
Normalization is the process of organizing data to reduce redundancy and dependency, improving database integrity
What is the main purpose of agile methodology in software development?
A
To eliminate all bugs before release
B
To deliver software incrementally with continuous feedback and adaptation
C
To reduce the number of developers needed
D
To eliminate the need for testing
Correct Answer:
B. To deliver software incrementally with continuous feedback and adaptation
Explanation:
Agile methodology emphasizes iterative development, continuous feedback, and adaptability rather than fixed lengthy development cycles
What is an exception in programming?
A
A feature that all programs must have
B
An error that occurs during program execution that disrupts normal flow
C
A special type of variable
D
A comment in the code
Correct Answer:
B. An error that occurs during program execution that disrupts normal flow
Explanation:
An exception is an event that occurs during program execution that disrupts the normal flow, requiring special handling