-
Ranjani R started the topic Keywords in c++ in the forum C++ 2 years, 5 months ago
Keywords
Keywords(also known as reserved words) have special meanings to the C++ compiler and are always written or typed in short(lower) cases. Keywords are words that the language uses for a special purpose, such as void, int, public, etc. It can’t be used for a variable name or function name or any other identifiers. The total count of r…[Read more] -
Ranjani R started the topic C++ variables in the forum C++ 2 years, 5 months ago
C++ Variables
Variables are containers for storing data values.In C++, there are different types of variables (defined with different keywords), for example:
int – stores integers (whole numbers), without decimals, such as 123 or -123
double – stores floating point numbers, with decimals, such as 19.99 or -19.99
char – stores single…[Read more] -
Ranjani R started the topic What are the type of Data formatting in MS word in the forum Microsoft Word 2 years, 5 months ago
To help understand Microsoft Word formatting, let’s look at the four types of formatting:
Character or Font Formatting
Paragraph Formatting
Document or Page Formatting
Section Formatting -
Ranjani R started the topic Call reference in excel and their types in the forum Microsoft Excel 2 years, 5 months ago
A cell reference in Excel refers to other cells to a cell to use its values or properties. So in simple terms, if we have data in some random cell A2 and we want to use that value of cell A2 in cell A1, we can use =A2 in cell A1. So it will copy the value of A2 in A1. So it is called cell referencing in Excel.
For example, suppose you insert C1O.…[Read more]
-
Ranjani R started the topic Miscellaneous excel in the forum Microsoft Excel 2 years, 5 months ago
Miscellaneous Excel
An overview of various tips in the field of Excel. It varies from short tips to more extensive tutorials.COMPATIBILITY BETWEEN EXCEL VERSIONS
EXCEL EDIT MULTIPLE SHEETS AT ONCE
edit multiple sheets at once
DEALING WITH CALCULATION ERRORS IN EXCEL
omgaan met rekenfouten vn Excel
HANDY EXCEL KEYBOARD SHORTCUTS
excel keyboard…[Read more] -
Ranjani R started the topic How to use Text Functions in Excel in the forum Microsoft Excel 2 years, 5 months ago
How to use Text Functions in Excel
Excel is mostly about the numerical data, but at times you can come across the data which has too much text and that is the time when Text Functions in Excel will help you to simplify the things easily.
Here are few text functions you should know
1.Left()
You can use the Left function when you want to…[Read more] -
Ranjani R started the topic Excel keyword shortcuts in the forum Microsoft Excel 2 years, 5 months ago
Frequently used shortcuts
This table lists the most frequently used shortcuts in Excel.To do this
Press
Close a workbook.
Ctrl+W
Open a workbook.
Ctrl+O
Go to the Home tab.
Alt+H
Save a workbook.
Ctrl+S
Copy selection.
Ctrl+C
Paste selection.
Ctrl+V
Undo recent action.
Ctrl+Z
Remove cell contents.
Delete
Choose a fill…[Read more]
-
Ranjani R started the topic Data and time function in Excel in the forum Microsoft Excel 2 years, 5 months ago
Date & Time Functions
Year, Month, Day | Date Function | Current Date & Time | Hour, Minute, Second | Time Function
To enter a date in Excel, use the “/” or “-” characters. To enter a time, use the “:” (colon). You can also enter a date and a time in one cell.
Date and Time in Excel
Note: Dates are in US Format. Months first, Days second.…[Read more]
-
Ranjani R started the topic Unions in c in the forum C Programming 2 years, 5 months ago
union is a special data type available in C that allows to store different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using the same memory location for multiple-purpose.
Defining a Union
To define a union, you must…[Read more] -
Ranjani R started the topic Variables and constant in c in the forum C Programming 2 years, 5 months ago
Variables in C
Variable is used to store the value. As name indicates its value can be changed or also it can be reused many times. We have to define its Data Types as shown below.
SyntaxData type variable_name;
e.g.int a;
Where ‘a’ is the variables.Types of Variables in C:
There are many types of variables in c:local variable
global var…[Read more] -
Ranjani R started the topic Properties of Arrays in C in the forum C Programming 2 years, 5 months ago
Properties of Arrays in C
It is very important to understand the properties of the C array so that we can avoid bugs while using it. The following are the main properties of an array in C:1. Fixed Size
The array in C is a fixed-size collection of elements. The size of the array must be known at the compile time and it cannot be changed once it…[Read more] -
Ranjani R started the topic Types of array in the forum C Programming 2 years, 5 months ago
There are two types of arrays based on the number of dimensions it has. They are as follows:
One Dimensional Arrays (1D Array)
Multidimensional Arrays
1. One Dimensional Array in C
The One-dimensional arrays, also known as 1-D arrays in C are those arrays that have only one dimension.Syntax of 1D Array in C
array_name [size];Example of 1D…[Read more]
-
Ranjani R started the topic C Array Initialization in the forum C Programming 2 years, 5 months ago
Initialization in C is the process to assign some initial value to the variable. When the array is declared or allocated memory, the elements of the array contain some garbage value. So, we need to initialize the array to some meaningful value. There are multiple ways in which we can initialize an array in C.
1. Array Initialization with…[Read more]
-
Ranjani R started the topic Arrays in c in the forum C Programming 2 years, 5 months ago
C Arrays
Array in C is one of the most used data structures in C programming. It is a simple and fast way of storing multiple values under a single name. In this article, we will study the different aspects of array in C language such as array declaration, definition, initialization, types of arrays, array syntax, advantages and disadvantages, and…[Read more] -
Ranjani R started the topic Generator in python in the forum C++ 2 years, 5 months ago
Generators in Python
Prerequisites: Yield Keyword and Iterators There are two terms involved when we discuss generators.Generator-Function: A generator-function is defined like a normal function, but whenever it needs to generate a value, it does so with the yield keyword rather than return. If the body of a def contains yield, the function…[Read more]
-
Ranjani R started the topic Sequence data type in python in the forum C++ 2 years, 5 months ago
Some basic sequence type classes in python are, list, tuple, range. There are some additional sequence type objects, these are binary data and text string.
Some common operations for the sequence type object can work on both mutable and immutable sequences. Some of the operations are as follows −
Sr.No. Operation/Functions & Description
1
x i…[Read more] -
Ranjani R started the topic Difference between Syntax Error and Exceptions in the forum C++ 2 years, 5 months ago
Difference between Syntax Error and Exceptions
Syntax Error: As the name suggests this error is caused by the wrong syntax in the code. It leads to the termination of the program.
Example:
# initialize the amount variable
amount = 10000# check that You are eligible to
# purchase Dsa Self Paced or not
if(amount > 2999)
print(“You are…[Read more] -
Ranjani R started the topic Python exception handling in the forum C++ 2 years, 5 months ago
Python Exception Handling
We have explored basic python till now from Set 1 to 4 (Set 1 | Set 2 | Set 3 | Set 4).In this article, we will discuss how to handle exceptions in Python using try, except, and finally statements with the help of proper examples.
Error in Python can be of two types i.e. Syntax errors and Exceptions. Errors are…[Read more]
-
Ranjani R started the topic Data class in python in the forum C++ 2 years, 5 months ago
dataclass module is introduced in Python 3.7 as a utility tool to make structured classes specially for storing data. These classes hold certain properties and functions to deal specifically with the data and its representation.
DataClasses in widely used Python3.6
Although the module was introduced in Python3.7, one can also use it in Python3.6…[Read more] -
Ranjani R started the topic Python type class in the forum C++ 2 years, 5 months ago
Python, a class is an object of the class type. For example, the following defines the Person class with two methods __init__ and greeting:
class Person:
def __init__(self, name, age):
self.name = name
self.age = agedef greeting(self):
return f’Hi, I am {self.name}. I am {self.age} year old.’
Code language:…[Read more] - Load More
