Reference memo for those who take the Ruby Silver exam (taken on December 28, 2020)

I passed the Ruby Silver exam.

There was a point of reflection on how to proceed with the study, and it became a form that I packed it just before, so I had a little trouble: sweat_smile:

I will leave this memo so that those who visit here do not follow the same rut as I do.

Ruby Silver Exam Details

item Contents
test time 90 minutes
The number of questions 50 questions (selective)
Pass line 75%

For reference, my study period is one month.

Study time is about 30 hours at home and about 20 to 30 minutes by train every day when commuting.

By the way, in business, I am a beginner to some extent that I assembled one in about a week.

The score was "82 points".

Teaching materials used

Referenced URL

https://qiita.com/jonakp/items/7f7550eeea78973a0a7f

This passing experience was very helpful.

The above teaching materials are all the ones published in this experience story.

About learning method

First, I read the "Ruby Engineer Certification Examination Pass Textbook" on the train and typed in all the samples that appear in the book on my home PC.

After that, it is a flow to practice the problem.

But to be honest, the silver range of the "Ruby Engineer Certification Exam Pass Textbook" has many explanations on how to use the method, and even if you read it, you will not be able to remember it and you will feel sleepy. : sleepy:

Even if I code it, I get tired of it and it doesn't last for some reason. ..

However, only the object-oriented part was interesting to read, and I was able to swallow it while comparing it with other languages.

Even if I read it, I think it's okay to read it first and then read only the parts that interest you.

I thought it would be better to repeat the exercises quickly.

When you solve a problem, you will always have a question, so check it in the "Ruby Engineer Certification Exam Pass Textbook".

Or flesh out.

In fact, the most memorable thing was that I worked until I was convinced while coding and moving while searching books and the net for the wrong part of the problem.

A rushed story (; ^ _ ^ A

It wasn't until less than two weeks after the exam that I started working on the exercises in earnest.

It was 4 days before the exam that the "Ruby engineer certification exam pass textbook" and "Official practice questions" were completed 3 times, and the first time I started REx was 12/25, 3 days before the exam.

REx changed the question until just before the exam and tried 4 times, but at first it was 58 points .

12/25 (Fri) 1st time: 58 points 12/27 (Sun) Second time: 80 points 12/28 (Mon) Third time: 66 points 4th time: 86 points

I think I studied for about 8 hours every day for these 3 days.

In the third challenge on the day of the exam, I finished studying again and faced with confidence.

I had a response of about 90 points.

However, I opened the lid and was surprised at 66 points!

At first I thought I might have made a mistake. : confounded:

It's the third time with similar problems. ..

But when I took a closer look, I realized that although it was a similar problem, I still didn't understand it properly.

For example, this.

What happens when I run the following code


s = <<'EOF'
Hello,
Ruby
EOF
'EOF'

p s

I am storing a document with line breaks in the variable s, but the point is the "p" method that is output at the end.

Click here for the answer. "Hello,\nRuby\n" , The line feed code "\ n" is displayed.

However, if you output with the "puts" method in the same way, it will be displayed with a line break. Hello, Ruby I didn't understand this, so if I could change the method for a similar problem, I couldn't get to the answer.

Let's go one more.

s = <<-EOF
      Hello,
      Ruby
      EOF

p s

Compared to the previous time, there is a "-" next to EOF.

The output result will be like this.

" Hello,\n Ruby\n"

This time there will be an indent (space) next to Hello and Ruby.

Furthermore, although it is the position of "EOF" at the end of coding, if it is not moved to the left in grammar, an error will occur.

However, by adding "-" to the description of the first EOF, indentation is allowed in the description of the terminal EOF.

Therefore, even if you write it with indentation in the same line as Hello, and Ruby, no error will occur.

These small differences in behavior will be asked even in production.

And I got 66 points just before the exam, but being able to confirm these differences made me closer to passing.

I was able to remember this because I made a mistake in the problem.

Even if it is written in a book, I can't remember it if I just read it. ..

That's why I should have worked on the exercises earlier.

I think it's most efficient to tackle the problem many times, make a lot of mistakes, and absorb each time.

After the exam

In the exam, I got almost the same questions as the above questions.

I felt that about 70-80% was in my memory.

I have the impression that the remaining 20% ​​is a similar problem.

Difficult problems were concentrated on the first 10 questions, but when I exceeded that, I went ahead and solved it in about 40 minutes.

The remaining 50 minutes ... I had to leave halfway, but I won't be back, I: smirk:

Careless mistakes are almost always present, and if you fail to take the exam, you will not be able to regret the high exam fee!

If you think about the problems you don't understand, you can see them from various angles.

Then, you may be confident in your answer that "there should be nothing else", or conversely change it to "this is impossible".

And there was a careless mistake!

There was only one question, but I misread the problem and fixed it!

I passed the exam safely and was able to reach the end of the year ~: hugging: Wow Pachi Pachi