This document contains an interview exam with 9 multiple choice or coding questions on topics like prime numbers, recursion, logic, SQL, and puppetry. It also requests background information on the applicant's skills, typing speed, languages, and a self-review of completing the instructions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
458 views3 pages
OutDash Interview Exam 8
This document contains an interview exam with 9 multiple choice or coding questions on topics like prime numbers, recursion, logic, SQL, and puppetry. It also requests background information on the applicant's skills, typing speed, languages, and a self-review of completing the instructions.
1. You must work without the help of a compiler or any programming environment. The questions are to be treated as though they are done on paper. 2. This is a closed book exam - no help from books, friends, the internet, etc 3. Type in your answers under each question and provide an explanation for questions 2, 3, 7, 8 and 9. 4. Please include the time taken for each question (excluding time taken to write explanations).
Questions:
1. Please write out in JavaScript or pseudo code a function or functions that will print out the first 100 prime numbers. 2. Consider this function declaration: void quiz(int i) { if (i > 1) { quiz(i / 2); quiz(i / 2); } writeOutput("*"); } How many asterisks are printed by the function call quiz(5)?
3. Julia states: When I went fishing the other day, every fish that I caught was a tuna, and every tuna I saw I caught.
Of the following statements listed below, which one can be concluded from the observations of Julia?
A. Tuna was the only fish that Julia saw while she was fishing. B. While Julia was fishing, no other fish were caught by her. C. In the area that Julia fished, there were no other fish. D. All of the fish that Julia saw she caught. E. Julia did not see any other fish while she was fishing
4. Suppose you and I have the same amount of money. How much must I give you so that you have ten dollars more than I?
5. A dealer bought an article for $7, sold it for $8, bought it back for $9, and sold it for $10. How much profit did he make?
6. Imagine that you have a client that has a UI for reviewing his many thousands of orders, 50 per page. The UI also allows the client to limit the orders based on the current status of the order. The orders are in a database table called [ORDERS] with a numeric, incrementing primary key named [ORDER_ID]. The table also has a column [ORDER_STATUS] with three possible values: PROCESSING COMPLETED CANCELLED
Please write out a SQL statement that will output the third page of CANCELLED orders (the 101-150 th cancelled orders). Bear in mind that while the [ORDER_ID] values are probably sequential in the database, the [ORDER_ID] values for the CANCELLED orders are not.
Please use ONLY SQL and avoid vendor specific SQL commands (such as MS SQLs RowID() or MySQLs limit).
7. 500 men are arranged in an array of 10 rows and 50 columns according to their heights. The tallest man in each row is asked to come out and the shortest among them is A. After resuming their original positions, the shortest among each column is asked to come out and the tallest among them is B. Who is taller, A or B ?
8. You have 26 constants, labeled A through Z. Let A equal 1. The other constants have values equal to the letter's position in the alphabet, raised to the power of the previous constant. That means that
B (the second letter) = 2^A = 2^1 = 2 C (the third letter) = 3^B = 3^2 = 9
The value for this expression: (X-A) * (X-B) * (X-C) * ... * (X-Y) * (X-Z) will
A. Fit into an Int32 B. Fit into an Int64 C. Not fit into either
9. On the popular children's television show, the "Faboo Foursome" are four animated animals. Since they are animated, they can't make a live stage performance so, when they are on tour, each is represented by a puppet that is operated by a chief and an assistant puppeteer.
The Creature Buddies are a: Dragon, Gorilla, Kangaroo, and Tiger. The Creature's Names are: Audrey, Hamish, Melville, Rex The Chief Puppeteers are: Ben, Jill, Paul and Sue The Assistant Puppeteers are: Dave, Gale, Pam and Tom
1. Melville isn't the puppet who is operated by Sue and her assistant Pam. 2. Hamish's chief puppeteer (who is not Jill) is assisted by Tom. 3. Ben is in charge of the dragon, but Jill doesn't have anything to do with the kangaroo. 4. Dave is the assistant puppeteer for the tiger. 5. Rex, whose chief is Paul, isn't the gorilla (who's name is not Melville).
What is the name of the Dragon? How do you know?
A. Audrey B. Hamish C. Melville D. Rex E. Dave Skillset:
On a scale of 0-10 (10 being the highest possible) please rate your skills on each of the following. These are just background questions you can leave it blank if the answer is 0. (dont worry if the answer is 0):
C# ______
Web Services ______
MS SQL ______
Oracle ______
Database Design ______
Database Triggers, ______ Constraints, etc
UI/Interface Design ______
WPF ______
Silverlight ______
C++ ______
ML or F# ______
Java ______
HTML ______
CSS ______
JavaScript ______
PHP ______
ColdFusion ______
Ruby ______
Perl ______
Using this link - http://bit.ly/3CTL - please complete the paragraph and provide:
Speed (WPM): _____ Mistakes: _____
On a scale of 0-10, please rate your proficiency with: Written English _____ Spoken English _____
Please list any other spoken languages that you know and your fluency in each : __________________