Developer Interview Questions

269,109 developer interview questions shared by candidates

Write a program to accept pool of strings and accept 1 choice between 4 operations and do the selected operation 1.Undo(Remove last entered string) 2.Redo(Again add the removed string) 3.Display(Display the pool after operation) 4.Exit(exit the pool)
avatar

Java Developer

Interviewed at SecurView

3.7
Apr 29, 2017

Write a program to accept pool of strings and accept 1 choice between 4 operations and do the selected operation 1.Undo(Remove last entered string) 2.Redo(Again add the removed string) 3.Display(Display the pool after operation) 4.Exit(exit the pool)

A company is assigning four tasks - Payroll, Inventory, Marketing, and Sales-to four employees: Aaliyah, Brent, Claire, and David. Each employee will handle exactly one task, which will be assigned to exactly one employee. The following conditions apply. • If Aaliyah is assigned Payroll, then David must be assigned Inventory. • If Brent is assigned Marketing, then Claire cannot be assigned Sales. • If Claire is assigned Inventory, then Aaliyah must be assigned Sales. Which of the following assignments is possible? Options 1. Aaliyah: Payroll, Brent: Inventory, Claire: Marketing, David: Sales 2. Aaliyah: Payroll, Brent: Marketing, Claire: Sales, David: Inventory 3. Aaliyah: Marketing, Brent: Sales, Claire: Inventory, David: Payroll 4. Aaliyah: Payroll, Brent: Sales, Claire: Inventory, David: Marketing 5. Aaliyah: Sales, Brent: Marketing, Claire: Inventory, David: Payroll
avatar

MERN Developer

Interviewed at McKinley Rice

4
Nov 18, 2024

A company is assigning four tasks - Payroll, Inventory, Marketing, and Sales-to four employees: Aaliyah, Brent, Claire, and David. Each employee will handle exactly one task, which will be assigned to exactly one employee. The following conditions apply. • If Aaliyah is assigned Payroll, then David must be assigned Inventory. • If Brent is assigned Marketing, then Claire cannot be assigned Sales. • If Claire is assigned Inventory, then Aaliyah must be assigned Sales. Which of the following assignments is possible? Options 1. Aaliyah: Payroll, Brent: Inventory, Claire: Marketing, David: Sales 2. Aaliyah: Payroll, Brent: Marketing, Claire: Sales, David: Inventory 3. Aaliyah: Marketing, Brent: Sales, Claire: Inventory, David: Payroll 4. Aaliyah: Payroll, Brent: Sales, Claire: Inventory, David: Marketing 5. Aaliyah: Sales, Brent: Marketing, Claire: Inventory, David: Payroll

Viewing 871 - 880 interview questions

Glassdoor has 269,109 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.