# What are the principles of knowledge in c language Best 1

0
4  principles of knowledge in c language ?

## What are the principles of knowledge in  c language ?

In the world of data science and software engineering, in which knowledge is the core of everything we do, there are a lot of terms that have to be understood in order for us to correctly express what these fields entail. Some may even refer to it as the art of math (for those who know the basics). Here are some of them.

### 1. Categorical Variables in c language

In programming, categorical variables refer to any category having only one possible value (i.e., being true or false). This type of variable refers to both yes or no values (e.g., TRUE or FALSE) and continuous (e.g., a continuous value is a number between 0 and 10) variables.

### 2. Continuous Variables in c language

These types of variables cannot take on only one possible value. For example, if you assign someone’s height from 0 to 14 inches, then their height could be a continuous variable. There are also cases where the two variables are equal (e.g., height being 20 or 16 inches; weight). However, because the two variables have different values, they can still be called continuous variables.

### 3. Discrete Variables in c language

Discrete variables are classified by how many values each will hold. These variables can either only take on one possible value or be equally spaced out. They differ mainly from continuous variables in that continuous variables have an interval (i.e., 1, 2, 3, etc.), whereas discrete variables do not (i.e. 1, 3, 5, 7, …). While there are multiple values for each discrete variable, these values must be evenly spaced out to avoid confusion with continuous variables.

### 4. Yes-No Questions in c language

In programming, yes-no questions are often used to classify objects depending on their properties. If two objects have different values for all of their variables (and some other properties), then it is easy to identify whether the object has two values for some properties and none for others.

### 5. Classes vs Objects in c language

The main difference between classes and objects is that a class represents a group of related instances (i.e., variables, traits) that share characteristics (i.e., values). With objects, variables represent the instance itself, but most of its properties are defined by the class itself. Also, objects are usually defined using new keyword. This means that when declaring an object, you can give it a name (like Person), but it can’t contain variables. Object literals are similar to functions in JavaScript, which can store variables and return functions.

### 6. Binary Logic in c language

Binary logic is an approach to programming that allows programmers to write programs using sets of two statements (i.e., ones for yes/no) and zeros for “else” or default statements. When writing binary statements, you write the code as if each statement had two types of inputs: True (e.g., if this statement is true and the previous statement is still true) and False (e.g., if this statement is false).

You use if (true) and else (false) statements for making more detailed decisions about your program. Although this style of expressing decisions is common for procedural languages like Java and Python, it’s not so comfortable for people who write in English like me, since I have to write code as though it were written by myself! This is done through the usage of parentheses at the end of a conditional statement.

### 7. Booleans in c language

Booleans are values (e.g., boolean.true) that must be positive (i.e., must be equal with True). One way to make sure a variable has certain values is to set an initial value to True and immediately change it if the variable is negative; this is called using Boolean operators. A negative value indicates no value is required, while a positive one indicates a value is required.

For example, if x = true (it means x is positive) but x = false (it means x is negative) then the input is a Boolean. You can convert a Boolean into a double if the variable is named as a literal string or numeric expression, and vice versa: this means that if the input is a string then it’s represented as [true] or otherwise: boolean[false] // means the string [true] // OR boolean[true] // OR false // Both of these methods are valid, depending on whether the variable is known as a string or literal expression/value.

### 8. Arrays & Objects in c language

Arrays and Objects are collections of values that are stored in memory using indexes. An array contains items that are numbered in ascending order, whereas an object contains items that are numbered in descending order.

You have to wait 240 seconds.