Author name: vasu

The FizzBuzz Problem

The Fizzbuzz Problem

Fizzbuzz is a very common game played to teach children how to perform divisions. The game is simple, The player with which the game starts has to say one, then the other player says 2 (count incrementally) and so on. The catch is if the player has got a number that is a multiple of three,

The Fizzbuzz Problem Read More »

Python Booleans

A boolean value in computer science is a datatype which can have one of the two values ‘true’ or ‘false’ which represents the truth values of logics. In python, the boolean values are written as ‘true’ and ‘false’ (considering the case sensitivity of t and f). When we evaluate any expression, we would get any one

Python Booleans Read More »

Language Processors

Language processors – Compiler, Interpreter and assemblers

Language processors are software that translates text written in one language to another language. There are hundreds of programming and scripting languages as of now. Code written in these languages is generally written in some sort of English keywords and special symbols. But the computer doesn’t understand that directly. A computer understands everything in the

Language processors – Compiler, Interpreter and assemblers Read More »

Types of programming languages

Types of Programming Languages

Programming languages are specific languages that allow us to give instructions to a computer. A computer is not an intelligent machine, it can not make decisions or conclusions. For every single task, we need to give it some sort of instruction. That set of instructions is typically called a computer program. There are primarily two types of programming

Types of Programming Languages Read More »

C Basic Syntax

The C basic syntax specifies the rules for things to be written in a specific sequence to form meaningful instructions for the compiler. For example, how a variable should be declared, how to start a line of code, how to end it, where to put quotes, where to put braces, where to put semicolons etc.

C Basic Syntax Read More »

Python Type Casting

At times, we need to specify the data type of a predefined variable, or we need to change the data type of a variable. This is known as type casting. In computer programming, type casting (or simple ‘casting’) or type conversion is changing the data type of any entity. Example of type casting could be – changing

Python Type Casting Read More »