Company: Accenture NIT Patna mcq
Difficulty: medium
A mobile application needs to send data to a server using an API. The developer decides to use the POST method for this operation. What is the primary characteristic of the POST method in this context? It retrieves data from the server It updates existing data on the server It submits data to be processed by the server It deletes data from the server Write pseudocode to initialize an array named ages with values [25, 30, 22, 28, 35] and print the second element of the array. 1 ARRAY ages[5] 2 ages[1] = 25 3 ages[2] = 30 4 ages[3] = 22 5 ages[4] = 28 6 ages[5] = 35 7 8 PRINT ages[2] 1 ARRAY ages[5] = [25, 30, 22, 28, 35] 2 3 PRINT ages[1] 1 ARRAY ages[5] = [25, 30, 22, 28, 35] 2 3 PRINT ages[3] (Option not fully visible) Assume a developer designs the depicted table for an e-commerce system: 1 CREATE TABLE Orders ( 2 OrderID INT PRIMARY KEY, 3 CustomerName VARCHAR(100), 4 CustomerEmail VARCHAR(100), 5 ProductName VARCHAR(100), 6 ProductPrice DECIMAL(10, 2) 7 ); After some time, the DBA