Social media has become second nature – but what impact is this having on our brain?
The same brain circuits that are activated when eating chocolate and earning money are activated when teenagers see large numbers of “likes” on their own photos in social media, according to UCLA study that scanned teens brains while using social media.
Researchers at the UCLA brain mapping center showed 148 photographs on a computer screen for 12 minutes, including 40 photos that each teenager submitted, used an fMRI (functional magnetic resonance imaging) scanner to image the brains of the 32 teenager, they split them…
Conditionals are programming language commands for handling decisions. Specifically, conditionals perform different computations or actions depending on whether a programmer-defined boolean condition evaluates to true or false. Conditions must be expressed in such way that its result can only be true or false, like formulating a Yes or No question. This can be done using comparison operators, like equals (=), greater than (>), less than (<)..
If the specified condition returns true as a result, then the program would execute some group of instructions, but in the opposite case, when it returns false the program would execute another instruction.
Variables are used to store one or more values on a computer program.
Imagine you have a box that stores 6 pieces of apple, but they are in different color, so you decide to group similar items together, and store them in boxes. This would allow you better access to each item (apple).
Now, you have three boxes, one with Red apples, one with Green apples, and another one with Yellow apples. You have to sort the right type of box to get the required item.
And finally, give a unique name to each box to make each one easer to identify.
This is how variables are working with data and here is an example :
var redApples = 2;
Follow me on Instagram
In this lesson, we will discuss the operators that are available in Dart.
First, to work with an operator, you often have to have two operands between an operator, operands are representing data.
Here is an example of how the operands will be processed to produce a value:
Arithmetic operators :
‘ + ’ (addition),
‘ — ’ (subtraction),
‘ * ’ (multiplication),
‘ / ’ (division),
and ‘ % ’ (modulus division).
Operators are often used to form a numeric expression such…
The data type of a variable is referred to what kind of information that variable or item can have.
Data types can be found all around us, numbers, characters that are labeled based on the properties they share.
I will show you in this lesson the fourth main data types;
DART IS A PURE OBJECT-ORIENTED PROGRAMMING LANGUAGE, WITH EVERY VALUE BEING AN OBJECT.
WAS RELEASED ON NOV 14TH, 2013 BY GOOGLE.
WE CAN NOT TALK ABOUT DART WITHOUT MENTION FLUTTER,
FLUTTER IS GOOGLE’S HYBRID MOBILE APPLICATION DEVELOPMENT FRAMEWORK, PROVIDES TOOLING AND UI LIBRARIES TO BUILD BEAUTIFUL UI EXPERIENCE THAT RUN ON IOS, ANDROID AND THE WEB.
Photographer | story teller | CS student