Skip to main content

Posts

PYTHON SHORT NOTES

VARIABLES & STRINGS: Variables are used to store values. A string is a series of characters, surrounded by single or double quotes. Hello world print("Hello world!") Hello world with a variable msg = "Hello world!" print(msg) Concatenation (combining strings) first_name = 'albert' last_name = 'einstein' full_name = first_name + ' ' + last_name print(full_name) LISTS: A list stores a series of items in a particular order. You access items using an index, or within a loop. Make a list bikes = ['trek', 'redline', 'giant']     Get the first item in a list                                               first_bike = bikes[0] ...

IDENTIFIERS

IDENTIFIERS : A name in java program is called identifier. It may be class name, method name, variable name and label name.   Example:                      Class Collegetak {     publc static void main (String [] args) {  int x=20; } }                    In this code there are 5 identifiers Collegetak main String args  x Rules to define java identifiers: Rule 1: The only allowed characters in java identifiers are:   a to z   A to Z   0 to 9   _ (underscore)   $  Rule 2: If we are using any other character we will get compile time error. Example: 1) total_number-------valid  2) Total#------------------invalid   Rule 3:  identifiers are not allowed to starts with digit.   Example:  ABC123-------...

MOST REQUIRED SKILL FOR STUDENTS

College students must follow this skill:- WHEN YOU ENTER IN COLLEGE YOUR CARRER START HERE, EVERYONE WANT TO PLACED IN TOP  COMPANY IN THE WORLD. IF YOU ARE A COMPUTER SCIENCE STUDENT YOU MUST BE FOLLOWED THIS STEP. IF YOU ARE NOT BELONG TO COMPUTER SCIENCE BACKGROUND , YOU SHOULD ALSO DO THIS.                                                                                 STEP  1:-    LEARN LANGUAGE 1:- c++ C++  is one of the general purpose, multi-paradigm programming language.  C++  developers generally work on both desktop and mobile applications. In addition, they work with software that interacts with low-level system and hardware resources. 2- JAVA You will be part of a talented softwar...

First day in college.

First day in college is most excited day for every student. They are meeting new friends from different state of country. All students have dream to enjoy in college but trust me its only a myth. when i was coming in college. I have alot of  expectation because i watch too many movies related to college life, and i think yes this is the college life and its very enjoyful. but yes college time is best life your in life.... Here you meet some fake and real people and they teach you alot of things. Here Expectation vs Reallity in college: Expectation: Each and every students think if they are going to college after intermediate they enjoy alot and doing parties in night but this is only a myth. Reality: Attending the Lecture because  75% attendentence is compulsory in college.  Expectation : No homework ,endless chill time yeah !!!!!!!!!!!!!! Reality: Alot of assignmet in class you dont have time to play or talk with your old f...