NSCT – Web APIs & Integration MCQs 20 min Score: 0 Attempted: 0/20 Subscribe 1. . A Web API (Application Programming Interface) is: (A) Styling web pages (B) A set of rules and protocols that allows applications to communicate with each other (C) Structuring HTML (D) Optimizing CPU onlyShow All Answers 2. . REST stands for: (A) Rapid Execution of Scripts (B) Representational State Transfer (C) Real-time Server Technology (D) Remote Execution of Styles 3. . RESTful APIs commonly use which HTTP methods? (A) Only GET (B) PUSH, PULL, SEND, RECEIVE (C) CONNECT, OPTIONS, TRACE, PATCH only (D) GET, POST, PUT, DELETE 4. . JSON (JavaScript Object Notation) is used in APIs to: (A) Exchange data between client and server in a lightweight format (B) Style web pages (C) Structure HTML (D) Optimize CPU only 5. . XML (Extensible Markup Language) is: (A) Another format for data exchange in APIs, especially older systems (B) CSS library (C) JavaScript framework (D) HTML tag 6. . API authentication ensures: (A) Optimizing CPU only (B) Styling web pages (C) Structuring HTML (D) That only authorized clients can access the API 7. . Common API authentication methods include: (A) API keys, OAuth, JWT (JSON Web Tokens) (B) HTML forms (C) CSS classes (D) CPU optimization only 8. . Rate limiting in APIs is used to: (A) Structure HTML (B) Style web pages (C) Restrict the number of requests a client can make in a given time to prevent abuse (D) Optimize CPU only 9. . Webhooks are: (A) CPU optimization only (B) CSS animations (C) HTML forms (D) User-defined HTTP callbacks triggered by events in an application 10. . API versioning is important because: (A) Styling web pages (B) It allows maintaining backward compatibility while updating API functionality (C) Structuring HTML (D) Optimizing CPU only 11. . CORS (Cross-Origin Resource Sharing) controls: (A) CPU optimization only (B) CSS styling (C) HTML structure (D) Which domains are allowed to access resources on a server 12. . SOAP (Simple Object Access Protocol) is: (A) A CSS framework (B) A protocol for exchanging structured information in web services (C) JavaScript library (D) HTML template 13. . REST APIs are preferred over SOAP because: (A) CSS is easier (B) SOAP is faster (C) They are lightweight, stateless, and easier to use over HTTP (D) HTML is more compatible 14. . API endpoints are: (A) URLs where clients can access specific API functionality (B) CSS classes (C) HTML forms (D) CPU optimization scripts 15. . API response codes like 200, 404, and 500 indicate: (A) CPU status (B) CSS errors (C) HTML issues (D) Success, not found, and server error respectively 16. . API integration refers to: (A) Connecting and using external APIs within a web application (B) Styling web pages (C) Structuring HTML (D) Optimizing CPU only 17. . Throttling in APIs is: (A) Controlling the usage rate of the API to prevent overload (B) Styling CSS (C) Structuring HTML (D) Optimizing CPU only 18. . API documentation is important because: (A) Optimizing CPU only (B) Styling pages (C) Structuring HTML (D) It helps developers understand how to use the API correctly 19. . GraphQL is: (A) HTML library (B) CSS framework (C) A query language for APIs that allows clients to request exactly the data they need (D) CPU optimization tool 20. . The ultimate goal of Web APIs & Integration is: (A) Optimize CPU only (B) Style web pages (C) Structure HTML (D) Enable seamless communication between applications to enhance functionality and data exchange