Question
Consider the following JSON object: json { "user": { "id": "u123", "name": "Alice", "age": 30, "address": { "street": "123 Main St", "city": "Anytown" } }, "products": [ {"id": 1, "name": "Laptop", "price": 1200}, {"id": 2, "name": "Mouse", "price": 25} ] } If this JSON is loaded into a Python dictionary json_obj, what would be the value of json_obj["user"]["address"]["city"]?
More IT Operating System Questions
- Which of the following is not one of the four necessary conditions (Coffman conditions) for a deadlock to occur in an operating system?
- In object-oriented programming, when defining an interface method, which of the following statements is true regarding method parameters?
- A system uses 32-bit virtual addresses and a page size of 4 KB. How many bits of the virtual address are used to represent the page number (not the offset)...
- An algorithm has a time complexity of O(N² ). If the input size N doubles, how does the execution time approximately change?
- In a SYN Flood attack, an attacker sends a large number of SYN packets with spoofed source IPs. What resource does this exhaust on the server?
- What is the output of the following C program? #include int main() { int a=2, b=3, c=4; printf("%d", a<<1 | b&c); return 0; }
- Given the array [38, 27, 43, 3, 9, 82, 10], what would be the two sorted subarrays immediately *before the final merge step* in a Merge Sort algorithm?
- What does the term 'elasticity' refer to in the context of cloud computing?
- You are asked to implement a feature that requires storing unique items and quickly checking for the existence of an item. Which data structure would be th...
- What is the output of the following Java code? public class LoopTest { public static void main(String[] args) { int x = 0; ...
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)