JavaRush /Java Blog /Random EN /From the notes of a sophomore who is rejected
Mikhail Fufaev
Level 35
Москва

From the notes of a sophomore who is rejected

Published in the Random EN group
Life is hard for a student who cannot work full time. You complete test assignments, go to interviews, iron your suit, review javarush lecture notes. But in the end they refuse you, interpreting this as being busy with your studies.
...From the notes of a sophomore who is rejected - 1
Recently wrote my first article Introduction to Jackson Framework and am sitting updating it enjoying the likes and views :) We are all javarush students whose main goal is to get a job and I believe everyone should share their experience of interviewing. If you, reading this article, are looking for a job and want to gain skills in solving typical test problems, then Welcome! Let’s immediately make a reservation that I will not name the companies from which I received test tasks and solved them (in order to maintain confidentiality).
  1. Job vacancy Java Junior Developer:
    • Given:

      txt file in the format

      user_id;count;country

      11231;6;Russia

      11232;1;Ukraine

      1122;1;Ukraine

      You need to write statistics to a file:
      ...From the notes of a sophomore who is rejected - 2

      It will be a plus if the task is solved without the use of additional libraries, data structures and algorithms (that is, with basic types, loops and arrays)


    • Sort the lines in the result.txt file as follows: in descending order, display sum(count);for the same values, sum(count)sort by count_uniq(user_id). Also write the result inresult.txt

      It will be a plus to use library methods when sorting


    • Provide program resistance to format errors: if a line does not match the format, it is skipped. Provide program resistance to type overflow.


  2. Job vacancy Java Developer (Hadoop):
    • Load data on the value of Mail.Ru shares into any relational database that supports SQL into the MailRuCostNaso table

      http://www.finanz.ru/aktsii/arhiv-torgov/mail-ru/NASO

      To the MailRuCostBer table

      http://www.finanz.ru/aktsii/arhiv-torgov/mail-ru/BER/

      And in the USDCost table information about the value of the dollar against the ruble

      http://www.finanz.ru/valyuty/arhiv-torgov/USD-RUB

    • Write an SQL query that returns the difference between the share prices of the MailRu company (from the MailRuCostNaso table) at the close of trading on the previous day and the current day

    • For each day, print whether the growth of the ruble and the growth (the difference between the closing value of the current and previous day) of Mail.Ru shares were synchronous. If on this day both MailRu and the ruble were growing, then we put 'both grows', if they fell, we put 'both fells', if the ruble fell and MailRu grew, then 'Rub grows MailRu falls', etc. The main table of MailRu share prices is MailRuCostNaso, but if there is no price for a certain day in it, then take it from the MailRuCostBer table.

    • Look at the data contained in these tables. What interesting patterns and metrics can you calculate in them? Why did you find them interesting?
  3. Job vacancy for trainee Java developer:
    • Based on the UML diagram, create a project that implements the decorator pattern

      Java Developer Trainee

    • Write a program that displays the arithmetic mean of a two-dimensional array (yes, yes, I was not mistaken)

    • Demonstrate the capabilities of polymorphism
  4. Job vacancy Java Junior Developer:
  5. Write a program in Java that sends a letter to the technical director by email. The program should have 2 files: a configuration file with smtp server settings and a letter template.

PS Very often they ask for knowledge of patterns, ask to write Singleton, and almost everywhere they give logic problems (Determine a counterfeit coin in n weighings, crossing problems, etc.)
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION