we'll I've created a list of tasks that -IMHO- if you did it with any
programming language, you'll be basically familiar with this language (you
can say, you know that language).
- Quick Programming Tasks
- STDIN , STDOUT
- Get First name, Last name, age
- Capitalize the Names and print it to stdout
- Split first name characters into array
- print this array, items separated by comma
- print the size of this array
- sort this array and print this array
- From user the given age, calculate the birth year, and print it
- From user the given age, calculate the number of days the user
lived, and print it
- If the user is younger than 15, print "hello kid!, FIRST_NAME"
- If the user is between 16 and 30, print "hello young man,
- If the user is between 31 and 50, print "hello man, FIRST_NAME"
- 5.4 If the user is older than 50, print "hello old man,
- make sure the user enters a positive number only or re print the
- File I/O
- Create folder named "Users"
- Into "Users" folder, Write these information (first name, last
name, age) to a file named 'user-profile.txt', since the 'user' is the
first character of the first name and the full string of the last name
- do this step for 3 users so you should have 3 files inside
- Print "User" directory full path
- Print All files inside that directory
- extract user information from each file and print it under
the file name
- Create a TCP Server that receive the first name and responds
with all user's information
- The server should print if a client connected to it
- The server should print the client IP address
- Create a client to send the request which send the first name to
the server and receives the user information
- Wrap your work into one or more class(s) and methods/functions
- Upload your code to a github repository
- Make sure your code works on all operating systems unless your
language is OS specific
- If there's more than one way to do the same thing, please ad the
other methods in comments
Please suggest, modify the list.
On Fri, 13 Jul 2018 at 17:54, Andy Jones <Andy.Jones@jameshall.co.uk> wrote:
Does anyone here have any recommendations for resources on teaching people
I’ve kind of volunteered to teach Ruby to some of my co-workers. I’m good
at _*explaining*_ but I’m rapidly discovering that there is a big gap
between that and teaching.
Worse, it looks as if one of my students has never coded before. I want
to do right by them, and this is more of a mouthful than I thought I was
chewing when I bit it off.
A quick web search turns up lots of articles about teaching children, but
(I am, at least, very happy with the idea of Ruby as a good first language
Click here to view Company Information and Confidentiality Notice.
protection regulations. Please refer to our website to view the ways in
which we handle your data.
*Senior Information Security Engineer OSCE, GWAPT, **CEH, **OSCP, **RHCE, *