+ 3
What's the most basic thing to code?
I'm a complete beginner and I'm planning to find a future as a coder. I want to get practice before I enter the first year of high school so I can get a head start. What is something that I can code for practice?
8 Respuestas
+ 7
In order to test your comprehension of basic structures of the language of your choice, try making a simple mathematical algorithm, like:
- prime number classification/generation
- perfect number generator
- calculation of best approximation of π, e or phi
- bubble sort or insert sort algorithm
- Kaprekar number routine
and many others. Look for people's codes here for inspiration :)
+ 6
<html>
<head>
<title> hello world!</title>
</head>
<body>
<p>hello world!</p>
</body>
</html>
+ 6
Every good programmer begins with a hello world!
+ 5
document.write("some text");
+ 5
Try a text-based story game. If the users enters 1, he does something. otherwise if he enters 2, he does something else.
You need:
* input
* output
* if/else if statements
Don't jump into algorithms or OOP if you can't put a method together.
+ 5
General Mathematics Calculation.
Try to understand, Logic.
and,
the types of programming (e.g Object Oriented Language, Structured Language etc.)
-
You should also need to understand the every topics those are common in programming languages.
E.g.
1. statement
2. Array
3. Loop
etc.
+ 2
try python and learn how to use tkinter module
then make really simple calculator (just +)
+ 2
I find I like php. random numbers like on my site.