Monday, December 3, 2018

Can we use floating variables in if statements in C?tccicomputercoaching.com

Yes, we can use floating variable in if statement but you have to be very careful while initialising the condition C Language.

Comparisons between floating-point values (including comparisons with zero) are easily sent “off” by truncation/rounding errors.



Yes. You can use. But a direct comparison will never result in a true condition.

Remember that floating point values are hardly precise. So what you can do is along with the float value you are comparing, declare another value that serves as an upper and lower bound to your value,

For example:-

Float a=6.7, b=5.8;
if(a==b)
{
printf("same");
}
Float a=1.0;
If (a==1) // this will be wrong in this case as condition will never be true
To do this correctly you have to write like this
If (a==1.0){
}

To learn more about Data Type , If Condition , C Programming Language , Computer Course .
TCCI coaching institute teach all programming language to all school board, all university, all branch students and any non-IT person.

Join us @ TCCI.

Call us@ 9825618292

Visit us@ http://tccicomputercoaching.com/engineering-courses/

Saturday, December 1, 2018

What is macro in Excel? tccicomputercoaching.com

A macro can be defined as the recording of a series of tasks. When used right, macros can save you hours by automating simple, repetitive tasks. Marcos in Excel is written in Excel VBA (Visual Basic for Applications).



Users can create macros for their customized repetitive functions and instructions. Macros can be either written or recorded depending on the user.

Steps to record simple Macro: 

1. Open View Menu in Excel File
2. Click record button, and start which function you want to do store .
3. There will display record Button.
4. After completing task, stop record button.
5. Now when you want to implement the task, go to view menu and click on macro name.

TCCI teach Basic Computer course which include Excel, Word, Power Point etc...

To learn more about Macro in Excel at TCCI Computer Coaching Institute .

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/computer-course/

Python Loops-tccicomputercoaching.com

Python programming language provides following types of loops to handle looping requirements.



Sr.No. Loop Type & Description
1
while loop Repeats a statement or group of statements while a given condition is TRUE. It tests the condition before executing the loop body.
2
for loop Executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
3
nested loops You can use one or more loop inside any another while, for or do..while loop.

3 sections of Loop:

1. Initialization:

i=1

2. Codition

i<=10 or i<11

3. Updation(increment/decrement)

i=i+1 or i+=1

Python has two primitive loop commands:
  • while loops
  • for loops
To learn Python Programming Language at TCCI, Ahmedabad.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/course/

Friday, November 30, 2018

Get Basic Knowledge of Civil Engineering at TCCI-tccicomputercoaching.com

Civil engineers make, enhance and ensure nature in which we live. They design, outline and supervise development and upkeep of building structures and framework, for example, streets, railroads, air terminals, spans, harbors, dams, water system ventures, control plants, and water and sewerage frameworks.



CIVIL ENGINEER should have Basic Requirements to become successful.

1. Tests of Building Materials :


  • A good civil engineer should have proper knowledge of different tests of building materials. Some important tests are listed below.
  • Concrete Test: Slump test, compression test, split tensile test, soundness etc.
  • Soil Test: Core cutter test, compaction test, sand replacement test, triaxial test, consolidation test etc. 
  • Bitumen Test: Ductility test, softening point test, gravity test, penetration test etc.

2. He / she should be aware of uses Of Surveying Instruments:

  •  Usages of surveying instruments like the total station, theodolite etc.

3 . Drawing and Design:

  • Drawing and design are the primary keys of an ongoing project.

4 . Estimation and Bills:

  • Estimation and bills should be prepared by a civil engineer in a construction project.

5 . CLEAR COVER TO MAIN REINFORCEMENT:
6. WEIGHT OF ROD PER METER LENGTH:
7. STANDARD CONVERSION FACTORS
8. MATERIAL CALCULATION:
9. UNIT WEIGHT:

TCCI have Best Qualified Faculty who provide all such Basic Knowledge to civil engineering students. TCCI is located in Bopal and satellite in Ahmedabad. Faculty teach at home also. Lectures are conducted as per student flexible time.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/course/

Computer Class Near you-tccicomputercoaching.com

Computers are everywhere! They help us with calculations, storing data, staying organized and also entertain and inform us.

Computers add speed and accuracy in various methods and so, they help us save time and money too!



Computers have made important contributions in various fields including science, Engineering , technology, education, society and many more!

Computer is very useful to school-college-students, teachers, bankers, professor, Employers, Employees, senior person etc.

If you are interested to learn Computer and searching computer class near to you then TCCI Computer Coaching Institute is Best Institute in Ahmedabad. TCCI is located in Bopal and Satellite in Ahmedabad. We also provide online coaching to the any person.

All Engineering Branch , All Subjects , All University

For more information about TCCI.

Call us @ 98256 18292

Visit us @ http://tccicomputercoaching.com/course/

Different types of Computer Networks-tccicomputercoaching.com

Different types of Computer Networks


1. Personal Area Network (PAN)

The smallest and most basic type of network, a PAN is made up of a wireless modem, a computer or two, phones, printers, tablets, etc., and revolves around one person in one building.

2 . Local Area Network (LAN)

LAN is a small and single site network. A LAN connects network devices over a relatively short distance.

3. Wireless Local Area Network (WLAN)

A Wan is a geographically dispersed collection of LAN's. The Internet can be considered a WAN as well. A WAN like Internet, can expand most of the World. A network device called a router connects LAN's to a WAN.

4. Metropolitan Area Network (MAN)

It is a data network designed for a town or city. It connects an area larger than a LAN, but smaller than a WAN, such as a city, with dedicated or high performance hardware. Its main purpose is to share hardware and software resources by the various users.

5. Wide Area Network (WAN)

His allows computers and low-voltage devices to be remotely connected to each other over one large network to communicate even when they’re miles apart.

The Internet is the most basic example of a WAN, connecting all computers together around the world.

To learn more about Networking at TCCI Coaching Institute in Ahmedabad

Call us @ 98256 18292

Visit us @ http://tccicomputercoaching.com/engineering-courses/

Encapsulation in Python-tccicomputercoaching.com

In an object oriented python program, you can restrict access to methods and variables. This can prevent the data from being modified by accident and is known as encapsulation. Let’s start with an example.



The private attributes and methods are not really hidden, they’re renamed adding “_Car” in the beginning of their name.
 
Class with private variables. Variables can be private which can be useful on many occasions. A private variable can only be changed within a class method and not outside of the class.

class Car:
def __init__(self):
self.__updateSoftware()
def drive(self):
print 'driving'
def __updateSoftware(self):
print 'updating software'
redcar = Car()
redcar.drive()
#redcar.__updateSoftware() not accesible from object.

This program will output:

updating software
driving

To learn Encapsulation in Python at TCCI .

Call us @ 98256 18292

For more information about programming Language , Computer course , Engineering course

Visit us @ http://tccicomputercoaching.com/course/