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?
Write pseudocode to initialize an array named ages with values [25, 30, 22, 28, 35] and print the second element of the array.
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 reports issues where the same customer's email appears with different products, and if the email changes, multiple rows are update
In the dataset provided below, your regional head wants to know how many units were sold in the "North" region. | Row | A: Product | B: Category | C: Unit Price | D: Units Sold | E: Discount % | F: Sale Date | G: Region | |---|---|---|---|---|---|---|---| | 2 | Laptop | Electronics | 850 | 10 | 5 | 10-01-2023 | North | | 3 | Monitor | Electronics | 200 | 25 | 10 | 15-01-2023 | South | | 4 | Mouse
You are configuring Jest to run tests with specific command line options for coverage reporting and test format. Which Jest command-line option would you use to generate a coverage report in HTML format? (Config: collectCoverage: true, coverageReporters: ["text", "html"])
Which of the following queries will you use to extract only the top 10 items in a descending order from a data table?
Assume that a developer is tasked with configuring a high-security Wi-Fi environment for a sensitive government project using Android devices. Refer to the given code snippet used to configure wpa_supplicant: 1 CONFIG_SAE=y 2 CONFIG_SUITEB=y 3 CONFIG_SUITEB192=y. Which is the incorrect configuration line that might potentially weaken the desired security level?
What will be the output of the following pseudo code? 1 Integer p,q,r 2 Set p=4, q=3, r=7 3 if ((q*p)>q) 4 r=(r*7)+q 5 q=(q/r)+p 6 End if 7 r=q+p 8 Print p+q+r