# Programming in Dart: Fundamentals

## Part 1: Fundamentals

### Episode complete

Play next episode

Next

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In the previous set of exercises, you saw how you can work with Boolean values, and how you could use comparison operators such as less than, greater than, equal to and not equal to to compare values to each other.

``````const passingGrade = 50;
``````
``````const studentPassed = studentGrade >= passingGrade;
``````
``````print(!samPassed);
``````
``````print(!chrisPassed);
``````
``````print(chrisPassed == false);
``````
``````const catName = 'Jaspurr';
``````
``````print(!catName);
``````
``````// print(!catName);
``````
``````// AND Operator
// &&
``````
``````const bothPassed = chrisPassed && samPassed;
print(bothPassed);
``````
``````// OR Operator
// ||
``````
``````const eitherPassed = chrisPassed || samPassed;
print(eitherPassed);
``````
``````const anyonePassed = chrisPassed || samPassed || studentPassed;
print(anyonePassed);
``````
``````const anyonePassed = chrisPassed && samPassed && studentPassed;
print(anyonePassed);
``````
``````const meritAwardGrade = 90;
``````
``````const samHasPerfectAttendance = true;
``````
``````const samIsMeritStudent = samHasPerfectAttendance && samGrade > meritAwardGrade;
print(samIsMeritStudent);
``````