| Medium Tennis Players | 3 mins Logical Reasoning | Solve |
A tennis coach was trying to put together a team of 4 players for a tennis championship out of 7 players. R, S, T are the male players, and W, X, Y, Z are the female players. Note that all players have equal ability, and the team needs to have atleast 2 male players. While selecting the team we need to keep in mind that all 4 players should be able to play with each other.
We also need to keep the following restrictions in mind:
- R cannot play with Y
- S cannot play with W
- T cannot play with Z
Which of the following are true:
A: S and Z cannot be in the team together.
B: T and Y cannot be in the team together.
C: T and X cannot be in the team together.
|
| Medium Code language | 2 mins Attention to Detail | Solve |
In a new code language called Adira,
- '4A, 2B, 9C' means 'truth is eternal'
- '9C, 2B, 8G, 3F' means 'hatred is not eternal'
- '4A, 5T, 3F, 1X' means 'truth does not change'
What is the code for 'hatred' in Adira?
|
| Medium Increasing monthly gross profit | 2 mins Numerical Reasoning | Solve |
The CEO of Snipr. Inc wants to grow monthly gross profit by 4%. If costs stay the same, what does the sales turnover need to be in February to achieve this goal?
|
| Medium Claims for a new drug Xylanex | 2 mins Critical Thinking | Solve |
A pharmaceutical company claims that their new drug, Xylanex, is highly effective in treating a specific medical condition. They provide statistical data from a clinical trial to support their claim. However, a group of scientists has raised concerns about the validity of the study design and potential bias in the data collection process. They argue that the results may be inflated and not truly representative of the drug's effectiveness.
Which of the following assumptions is necessary to support the pharmaceutical company's claim?
A: The clinical trial participants were randomly selected and representative of the target population.
B: The scientists raising concerns have a conflict of interest and are biased against the pharmaceutical company.
C: The statistical analysis of the clinical trial data was conducted by independent experts.
D: The medical condition being treated by Xylanex is widespread and affects a large number of individuals.
E: The pharmaceutical company has a proven track record of developing effective drugs for similar medical conditions.
|
| Hard Missing element | 2 mins Ravens Progressive Matrices | Solve |
Which of the following figures do you think would complete the pattern shown below?
|
| Medium Overseas office | 2 mins Verbal Reasoning | Solve |
Your company recently opened a second office overseas. Some of the people from the original office will be relocating. All the people hired in the last six months will continue working in the original location where they were hired. Which of the following statements can be true regarding employees relocating?
|
| Medium Async Await Promises | 2 mins JavaScript | Solve |
What will the following code output?
A: 24 after 5 seconds and after another 5 seconds, another 24
B: 24 followed by another 24 immediately
C: 24 immediately and another 24 after 5 seconds
D: After 5 seconds, 24 and 24
E: Undefined
F: NaN
G: None of these
|
| Hard Holding References | 2 mins Java | Solve |
What does the following Java code output?
|
| Medium Context re-renders | 3 mins React | Solve |
Review the following React code:
Pick the correct statements:
A: The code renders 10 INDIAN RUPEE
B: The code renders 10 SINGAPORE DOLLAR
C: The code does not render anything and throws an error since JavaScript objects are not valid as React children
D: When the currency portion is clicked, the parent component is re-rendered
E: When the currency portion is clicked, parent component will skip the re-render because shouldComponentUpdate returns false
F: Parent component can be converted to a functional component with memoization (useMemo or memo) to avoid the re-render
|
| Medium EC2DataProcessing | 2 mins AWS | Solve |
You work as a Solutions Architect for a data analysis firm. The company stores large datasets on Amazon S3, and you've been tasked with setting up an Amazon EC2 instance to process this data. The EC2 instance will fetch data from S3, process it, and then write the results back to a different S3 bucket.
To ensure security, the EC2 instance should not have direct internet access, and it should only be able to communicate with the S3 buckets. You've decided to place the EC2 instance in a VPC private subnet with a CIDR block of 10.0.1.0/24. The associated security group is set to deny all inbound traffic and allow all outbound traffic.
Which additional configuration should you make to enable the EC2 instance to access the S3 buckets while complying with the security requirements?
A: Modify the Network ACL of the subnet to allow outbound connections to the IP range of the S3 service.
B: Assign a Public IP to the EC2 instance and update the security group to allow inbound and outbound traffic to S3.
C: Add a NAT Gateway in the private subnet and update the route tables to direct S3 traffic to the NAT Gateway.
D: Create an S3 VPC Gateway Endpoint and update the route tables for the private subnet to direct S3 traffic to the VPC Endpoint.
E: Create a VPN connection from the VPC to the S3 buckets.
|
| Medium Visitors Count | 30 mins Coding | Solve |
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order.
Example:
Input:
WWMMWWCCC
Expected Output:
4W3C2M
Explanation:
‘W’ has the highest count, then ‘C’, then ‘M’.
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
|
| Medium Default summarization | 2 mins Power BI | Solve |
Review the following table in Power BI:
Here’s the visualisation generated when Book and ReadingChallenges columns are added to a table visualisation:
Why do we see only 4 rows?
|