Want to start learning a programming language? You don’t need any fancy software; Notepad is capable of writing in any programming language. It doesn’t offer many options, but is great for quick Batch files or for testing other small programs.
- Write code for any language : Since Notepad is a plain text editor, you can use it to write code for any language, from C to HTML. You can open Notepad from the Accessories folder in your Start menu, or by searching for “notepad”.
- Save the file in the correct format : If you want to use your code in the compiler or interpreter for the language you are programming in, you will need to save the file in the language’s format. Click File → Save As. In the “Save as type” drop-down menu, select “All files (*.*)”. Enter the extension for the language you are writing.
- Consider a more robust editor : While you can certainly write entire programs in Notepad, it’s definitely not the easiest way. Notepad doesn’t contain any syntax highlighting or indentation options, making it difficult to use for writing larger pieces of code. Consider a program such as Notepad++, which is designed around programming syntax and is also free.
2. BATCH FILE
- Learn basic Batch commands : Notepad is most commonly used to create Batch files. Batch files are programs used to automate functions through the command prompt.
- Write a basic backup program : This is a simple program that can backup files from one folder to another, only backing up files that have been modified since the last backup.
- Write a batch file to test your network : If you find yourself testing networks and internet connectivity often, this batch file will quickly display the IP Config and Ping information for you.
- Save your file as a BAT file : When writing a Batch file in Notepad, you will want to save it as a .BAT file. This will change the file into a Batch file that can be executed by double-clicking it or running it from the command prompt.
- Click File → Save As. In the “Save as type” drop-down menu, select “All files (*.*)”. Enter the extension “.bat” at the end of the file. When you save it, the file will turn into a Batch file, allowing you to run it.
- Create your own Batch files : There is a lot that you can do with Batch files. You can add delays, make a program for compressing files, add a password, and much more.
3. Python Program
- Learn basic Python scripting : Python is a popular programming language for web scripting, and is one of the easier languages to learn. Python programs don’t need to be compiled; you just need the interpreter installed on your system.
- Create a “Hello, World” program : This is one of the easiest programs to create and teaches you the basics of constructing programs in Python. It simply displays the phrase “Hello, World!” on the user’s screen.
- Print the Fibonacci sequence : This simple program will calculate Fibonacci numbers up to 100. You can change the 100 value in the second line to whatever you’d like to change the number of results you get.
- Run your programs : You do not need to compile Python programs in order to run them. If you have a Python interpreter installed on your system, you can simply run the saved Python file to execute the program. Click File → Save As. In the “Save as type” drop-down menu, select “All files (*.*)”. Enter the extension “.py” and save the file. This will allow your Python interpreter to open the file.
- Create more Python programs : Even though its a fairly simple language, Python is very powerful and you can make a lot of useful stuff with it. You can create lists,loops, and graphing charts.
4. C Program
- Learn basic C coding : C is one of the older programming languages around, and is the base for many of the more popular languages being used currently, such as C++ and Objective-C.
- Create a “Hello, World” program : This is one of the easiest programs to create and teaches you the basics of constructing programs in C. It simply displays the phrase “Hello, World!” on the user’s screen.
- Create a program that stores user input : Much of what you’ll be doing in C involves taking and manipulating user input.
- Compile your programs : C requires a compiler in order to turn the code into a working program. Click File → Save As. In the “Save as type” drop-down menu, select “All files (*.*)”. Enter the extension “.c” and then save the file. This will allow you to open it in your compiler.
- Create more programs : This is the very tip of the iceberg when it comes to C, which is a very powerful programming language. There is a lot you can do with C programs: you can compare strings, delay the program, make an alert, and much more.
Why choose this course?
Degree type: B.Code(Hons)
Duration: 3 years (full-time) or 2.6 years (accelerated)
Code powers our digital world. Every website, smartphone app, computer programme, calculator and even microwave relies on code in order to operate. This makes coders the architects and builders of the digital age.
Over the next 10 years it is estimated that there will be 1.4 million jobs in computer sciences and only around 400,000 graduates qualified to do them.
“Our world is increasingly run by software and we need more diversity in the people who are building it. More importantly, writing software is about expression, creativity – and practical application,” Liukas told IBTimes UK.
“Our kids should learn to bend, join, break and combine code in a way it wasn’t designed to. It’s a whole generation of kids that will use code like our generation used words.”