Thursday, December 6, 2018

What is Inheritance? tccicomputercoaching.com

Inheritance is a feature of Object Oriented Programming . It is used to specify that one class will get most or all of its features from its parent class. It is a very powerful feature which facilitates users to create a new class with a few or more modification to an existing class. The new class is called child class or derived class and the main class from which it inherits the properties is called base class or parent class.



The child class or derived class inherits the features from the parent class, adding new features to it. It facilitates re-usability of code.

Python Inheritance Syntax

baseclass as per previous example

1. class DerivedClassName(BaseClassName):
2. <statement-1>
3. .
4. .
5. .
6. <statement-N>

Here we always use object of parent type.

object=baseclass()

This child type object will call both module of parent and child.

TCCI computer coaching institute teach python and other programming Languages in Ahmedabad.
"Online Coaching is also available...."

Any student, any person can learn any course at tcci.

Call us @ 9825618292

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

Vision of TCCI-tccicomputercoaching.com

TCCI Tririd Coaching Institute is reputed Computer Institute in Ahmedabad.

TCCI Tririd Coaching Institute was established in 2014 to provide quality education in both theoretical and applied foundations of computer education and to train students to effectively apply research based education, to solve real world problems.



Our Faculty provide teaching environment that responds to future challenges.

Main Vision of TCCI is Staying one step ahead in providing the latest Information in Technology Education and sustain quality in academic delivery.

TCCI conduct various courses like Computer-IT Engineering , EC Engineering , Electrical Engineering, Civil Engineering , Mechanical Engineering, Maths Course , School Computer Course for All Board Education, Project Training, Web Designing , Basic Computer, Programming Course etc....

You can Join any course according to your interest.

For more information about Courses at TCCI, Ahmedabad.

Call us @ 9825618292

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

Learn C++ at TCCI-tccicomputercoaching.com

TCCI is located in Bopal and satellite in Ahmedabad.

TCCI teach various Programming Languages online and offline both.

If you are beginner then you can start from C++.



We teach following topics in c++

1. Introduction to C++
2. Basic Syntax
3. Object Oriented Concept

  • Inheritance
  • Data Abstraction
  • Polymorphism
  • Encapsulation

4. Data Types and Variables
5. Constants, Literals
6. Modifiers
7. Operators
8. Loop Controls

  • For Loop
  • While Loop
  • Do-While Loop

9. Decision Making

  • If-Else

10. Class Structure with Object
11. Function
12. Arrays
13. String
14. Inheritance
15. Constructor-Destructor
16. Exception Handling
17. Files

Course Duration: Daily/2 Days/3 Days/4 Days

Class Mode: Theory with Practical

Learn Training: At student’s Convenience

For more information about C++ at TCCI .

Call us @ 9825618292

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

Monday, December 3, 2018

What is difference between normal variable and reference variable in c++? tccicomputercoaching.com

A reference variable is an alias, that is, another name for an already existing variable in C++ . Once a reference is initialized with avariable, either the variable name or the reference name may be used to refer to the variable .



They can be used like normal variables. '&' operator is needed only at the time of declaration. Also, members of an object reference can be accessed with dot operator ('.'),

For example,

int amount =10;
int rupees;
rupees=&amount;
cout<<"rupess"<< rupess;
cout<<"amount"<< amount;
output:
rupess 10
amount 10
now we do any update in amount variable , it will affect also in rupees variable. Same for vice versa.
for example,
amount=amount + 20;
cout<<rupess;

output: 30

To learn more about variable, data types , C++ Language , Operators.

Join TCCI in Bopal and Satellite in Ahmedabad.

You can Join TCCI online Coaching Class .

Call us@ 98256 18292

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

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/