![Image 1 — [First semester of college. Computer Science] Definition of false and true statements, reporting, writing simple codes](https://preview.redd.it/9kx85ivn7p1h1.jpg?width=562&format=pjpg&auto=webp&s=d10300af6ded053d899321b9d2c011fdcdda50fc)
![Image 2 — [First semester of college. Computer Science] Definition of false and true statements, reporting, writing simple codes](https://preview.redd.it/n4x0080o7p1h1.jpg?width=962&format=pjpg&auto=webp&s=ce28d05f62b02a3127b97ca33b310a1000160bc2)
[First semester of college. Computer Science] Definition of false and true statements, reporting, writing simple codes
The translation of the tasks:
File 1:
Task №1
Among the following sentences, identify the statements and determine whether they are true or false:
The Iset River flows into the Caspian Sea;
Drink orange juice;
All people are brothers;
Mathematical logic is an engaging science;
4 < 5 ;
5x + 9 ;
5x + 9 = 0 ;
For all natural numbers x and y , the equality x + y = y + x holds.
Task №2
Construct a truth table for the formula x \& \overline{x} .
File 2:
Practical session 6
Task №1
Study and prepare a report (no more than 3 A4 pages) describing the syntax and examples of using the WHILE statement in the C language (C++, C#).
Task №2
In one of the languages C, C++, C#, BASIC, PHP, Java, JavaScript, write code that solves the following problem (submit the source code in a programming language for verification, not an executable file):
The values of N and k are entered by the user. Find the algebraic sum for the expression:
1k + 2k + 3k + ... + Nk
Please help