Soumya Somayajula

Student at Sreenidhi Institute of Science and Technology

Mempry Allocation Functions in C

C gives us two choices when we want to reserve memory locations for an object: static allocation and dynamic allocation. Memory Usage Static Memory Allocation Dynamic Memory Allocation Memory Allocation Functions Releasing Memory (free) Conceptually memory is divided into program memory and data memory. Program memory consists of the memory used for main and all called functions. Data memory consists of permanent definitions, such as global data and constants, local declarations, and dynamic data memory. All functions, local and global data can be stored in stack memory.

Strings in C

A C string is a variable-length array of characters that is delimited by the null character. A string is a sequence of characters. A string literal is enclosed in double quotes. Declaring a String: A string variable is a valid C variable name and always declared as an array. The general form of declaration of a string variable is, char string_name [size]; The size determines the number of characters in the string_name. When the compiler assigns a character string to a character array, it automatically supplies a null character(‘\0’) at the end of the string. The size should be equal to the maximum number of characters in the string plus one. Initializing a String: This can be done in two wa char c[] = "abcd"; char c[50] = "abcd"; char c[] = {'a', 'b', 'c', 'd', '\0'}; char c[5] = {'a', 'b', 'c', 'd', '\0'}; 1. char str1[7]=“Welcome”; 2. char str2[8]={‘W’,’e’,’l’,’c’,’o’,’m’,’e’,’\0’}; A string can be initialized in different ways. We will explain this with the help of an example. Below is an example to declare a string with name as str and initialize it with “GeeksforGeeks”.

Introduction to Organizational Behaviour

OB is the understanding, prediction and management of human behavior in organizations. Organizational Behavior refers to the behavior of individuals and groups within the originations and the interaction between organizational members and their external environments. Organizational behavior is an applied behavioral science that is built on contributions from a number of behavioral disciplines such as psychology, sociology, social psychology, anthropology and economics. 

Introduction to Python

Introduction to Python: History Features Setting up path Working with Python Basic Syntax Variable and Data Types Operators Conditional Statements(If ,If- else ,Nested if-else) Looping( for, While Nested loops) Control Statements(Break , Continue ,Pass) Input-Output: Printing on screen, Reading data from keyboard, Opening and closing file Python is a high-level, interpreted, interactive and object-oriented scripting language. It is designed to be highly readable. Python is Interpreted: Python is processed at runtime by the interpreter. You do not need to compile your program before executing it . Python is Interactive: You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.

Introduction to Management Science

Management is as old as man himself. As civilization grew, human life became more and more organized. As industrialization picked up, business activity increased globally by leaps and bounds. It had been a common sight that all those who were in business were not successful. Similarly those who were on the top once. are today no where." On the other hand, those who were novice once upon a time are today on the pinnacles of success.

Packages and Modules In Java

Package:  A java package is a group of similar types of classes, interfaces and sub-packages.  Package in java can be categorized in two form, built-in package and user-defined package.  There are many built-in packages such as java, lang, awt, javax, swing, net, io, util, sql etc. Advantages of Java Package: 1) Java package is used to categorize the classes and interfaces so that they can be easily maintained. 2) Reusability: Reusability of code is one of the most important requirements in the software industry. Reusability saves time, effort and also ensures consistency. A class once developed can be reused by any number of programs wishing to incorporate the class in that particular program.

Fundamentals of FINANCIAL ACCOUNTING

As you are aware, every trader generally starts business for purpose of earning profit. While establishing business, he brings own capital, Then he purchases machinery, furniture, raw materials and other assets. He starts buying and selling of goods, paying for salaries, rent and other expenses, depositing and withdrawing cash from bank. Like this he undertakes innumerable transactions in business.

Depreciation of Fixed assets & TRIAL BALANCE

In financial accounting, assets are economic resources. Anything tangible or intangible that is capable of being owned or controlled to produce value and that is held to have positive economic value is considered an asset. Simply stated, assets represent ownership of value that can be converted into cash (although cash itself is also considered an asset). Two major asset classes are tangible assets and intangible assets.

UNIT 6 FINAL ACCOUNTS AND CLASSIFICATION OF EXPENSES

The expenditure of the firm has been divided into Capital expenditure & Revenue expenditure. Items of Revenue expenditure are taken in trading account & Profit & Loss account. Items of Capital expenditure are considered in Balance Sheet Capital Expenditure is an “Expenditure intended to benefit future periods in contrast to the Revenue expenditure, which benefits the current period” The transactions of Capital expenditure give benefits for more than one accounting period such as acquisition and improvements of assets. Capital expenditure is non recurring in nature.

Basics of Nanotechnology

Origin of Nanotechnology, Nano Scale, Surface to Volume Ratio, Quantum Confinement, Bottom-up Fabrication, Sol-gel, Precipitation, Chemical vapor Deposition (CVD); Top-down Fabrication; Thermal evaporation, Ball Milling, Characterization of Nano materials (XRD&TEM), carbon nano tubes (CNTs), Applications of Nano Materials. Rhaicrd Feynman was the first person to suggest that nanotechnology was a possibility. First, Prof.Norio Taniguchi of Japan in 1974 used the word nano technology to describe the extension of traditional silicon machining down into region smaller than one micron. The word “nano” is a Greek word and meaning is dwarf(small). The prefix nano means “ one billionth” or 10-9 meter. Size limitation of nano material is the 1-100 nm range.

Introduction to LASERS

Characteristics of LASER, Spontaneous and Stimulated Emission of Radiation, Meta-stable State, pumping, Population Inversion, Lasing Action, Einstein’s Coefficients and Relation between them and significance, Ruby Laser, Helium-Neon Laser, Semiconductor Diode Laser, Applications of Lasers in medicine and engineering.

Introduction to Fiber Optics

Introduction, Principle of Optical Fiber, Acceptance Angle and Acceptance Cone, Numerical Aperture, Types of Optical Fibers, Step index and graded index Fibers Attenuation in Optical Fibers. Applications: Optical Fiber communication system, Fiber Optic Sensors, Medical Endoscopy.