Back to Browse

Class 6 small basic| Variables in Small Basic | Write in Small Basic | WriteLine in small basic|#2

1.1K views
Jan 9, 2022
15:02

CBSECyberMate has created the video on the class 6 chapter Small Basic. I, Anunay Ghosh, would discuss the write and writeline method or function of small basic as well as the way we declare variables in smallbasic. #smallbasic #AnunayGhosh Key moments: 1:30 Using Write & Writeline 4:35 What is Variable 7:50 Naming Rules of Variable in Small Basic 9:42 Practical approach of using variables in SmallBasic Please note down the following content in your notebook. Write(data): This method or function writes text or numbers (data) to the output window. It does not put a newline character after the data, which means, anything written to the output window after this call will be on the same line. WriteLine(data) This method or function writes text or numbers (data) to the output window. A new line character will be appended to the output, and hence the content after this method appears in the next line. To understand this concept, please watch the entire video. Variables in SmallBasic: We use a variable to store different kinds of values, such as text or a number. A variable can contain different values at different points in time. Most variables can contain only one value at a time. However, special variables, which are called arrays, can contain more than one value. X=10 Nm=“CBSECyberMate” How to Name a Variable? We should always start variable names with a letter. We can use letters, digits, and underscores in the names of your variables. We cannot put space in between the variable name. We should name your variables so that reflect their meaning. When you name your variables, you should not include certain reserved words (keywords), such as If, For, Then, etc. Topic Covered: Introduction to Small Basic Class 6 Class 6 Small Basic Small Basic Class 6 Small Basic Class 5 Small Basic Class 7 variables in small basic How to code in small basic Write in small basic Writeline in small basic using variables in small basic using write and writeline in small basic difference between write and writeline in small basic Watch also: Introduction to Small Basic Class 6 : https://youtu.be/Ldzjz8B8AHU Binary subtraction using 2s complement : https://youtu.be/zLUBVcsKKCk Binary subtraction using 1s complement : https://youtu.be/o2nL0SaotYs Binary addition : https://youtu.be/kSX1GhJ8ayk 1s and 2s Complement : https://youtu.be/iHxtt7Kjpdc Binary Division : https://youtu.be/QxKCtzXv9S8 Binary Multiplication : https://youtu.be/BOUNYROwjMk Binary Subtraction : https://youtu.be/PSbajFDVwMI Playlist on my channel:- Class 8 : https://cutt.ly/fmUMZNc Class 7 : https://cutt.ly/vmUMKXd Class 6 : https://cutt.ly/kmUMSV6 Class 5 :- https://cutt.ly/3mXZ1dR Please Follow - # Facebook https://www.facebook.com/CBSECyberMatePage/ # Twitter https://twitter.com/cbsecyberMate # Instagram https://www.instagram.com/cbsecybermate/

Download

0 formats

No download links available.

Class 6 small basic| Variables in Small Basic | Write in Small Basic | WriteLine in small basic|#2 | NatokHD