Class XIth Admission in Navodaya Vidyalaya

ADMISSION TO CLASS-XI THROUGH LATERAL ENTRY DURING 2019-20 IN JNVs AGAINST VACANT SEATS

Hello class Xth passed out Students this is a Golden opportunity to take admission in class Eleven in Navodaya Vidyalaya of your District or any where you want to take admission. Last date to registration for phase I is extended till 15th June 2019 and for phase II 17th June 2019. URL for registration is –

https://www.nvsadmissionclasseleven.in/nvs_11reg/homepage

Notification from Navodaya Vidyalaya Samiti

General features of Navodaya

  • Best Result in JEE MAIN- 2019: 38% Qualified from 11733 students
  • 873 & 8407 students qualified in JEE(advanced)-2018 and NEET-2018 respectively
  • 6 students from underprivileged class secured International admission after Class XII
  • Best results in Class X & XII Co-educational residential schools in every district of the Country
  • Separate hostels for boys and girls
  • Free education, Board and lodging
  • Wide cultural exchange through Migration Scheme Computer: Pupil Ratio-1:8

Criteria for Admission of Students to class-XI against vacant seats

  • Studied Class X in academic session 2018-19 in Govt./Govt. recognized school in the same District/State, where JNV is functioning and to which they are seeking admission.
  • Date of Birth of the candidate is between 1 June 2001 to 31 May 2005 (both days inclusive). This is applicable to all categories of candidates including those who belong to the Scheduled Castes and Scheduled Tribes
  • Admission against available vacancies in Class-XI on the basis of marks secured by students in Class-X Board Exam during the academic session 2018-19, subject to admission criteria of Navodaya Vidyalaya Samiti. Selection of students will be done as per the following steps:
  • District wise merit list will be prepared and students will be selected against the vacancies.
  • After selecting students against the vacancies in the JNV of the district, a common merit list will be prepared at State level.

NOTE: ADDITIONAL WEIGHTAGE FOR NCC, SCOUT & GUIDES AND SPORTS & GAMES STREAMS AVAILABLE: SCIENCE, COMMERCE, VOCATIONAL and HUMANITIES

Posted in Uncategorized

Object Oriented Code in Python

Object Oriented Code in Python

This is time to go through the code to demonstrate the concept of OOP in Python. This is well known fact that OOP can not be done without Class and Object. So here is the example of Class and Object in Python.

Code of OOP in Python

Output of above code is –

Output of two Students Object

Now lets start understanding the code line by line. First line to Fourth line nothing but class level comment. Make it as clear and understandable as you can. Line no 8 is the beaning of class structure [class student(object): ]. It says that we are going start a class named Student and (object) is saying that this is new style of writing class and at last : is for starting the block statement. This is similar to { } sign in Java or C++

Next is [def __init__(self, name, marks):]. Here init is a function to initialise the object of class. If you are adding it well and good, if you left it don’t worry Python will insert it with default argument self on behalf of you. But here I used two extra parameters (name and marks), that means when ever user will try to create the object of Student class he/she have to pass these two parameters. After that self.name and self.marks are two instance variables which are getting initialised by parameters of init method. Remember the style of writing init method, it starts with two underscore sing and ends with the same two underscore sign.

Now you can write N numbers of methods a per your business requirement. Remember that if the function takes self as parameter are instance method and will get called by the object directly. [def getStudent(self):] this is the only function we are heving right now.

Lastly we need to create object and call method associated with that. [s1 = student(‘Robin’, 98)] will create one object s1 of student class. As my init method takes two parameters except self. So need to pass. and lastly call getStudent() on s1. You will get output as above. I created two Objects, you can create as much as you want.

That’s it. You are done with basic example of Class and Object in Python. Comments and feedback are always welcome. Bye bye…

Posted in Uncategorized

Basic Object Oriented Concept in Python

Object Oriented Concept in Python

Object oriented programming in Python is easy most then other OOP languages. Object oriented programming concept relates the programming to real world entities. You can reuse your code by creating multiple instance. Here import thing is to understand the concept of class and object.

Concept of Class and Object

Class – Classes are blueprint of real world situation, if you want to represent students details in terms of programming then you create a class named Student and add attributes to it as per your requirement like sname, fname, class, rollno, contactno, addr etc or any information that you want to get from Student.

Object – Objects are real instance of class created earlier (Student). You can create as much as object as per your requirement. Each object will have its own attribute associated and if you call the object you will able to get all the attributes detail associated with that object. Suppose rahul is the object of Student then rahul will carry all other infomations [sname-paul, fname-john, classs-9, addr- xyz colony]. Lets understand with code using Python in next post.

Posted in Uncategorized

Exception Handling in Python

Exception Handling in Python

Exception handling is one of the important task which is covered in every language in many ways. Python also supports exception handling in their own way. Python exception handling is similar to Java exception handling. Like Java try – catch block python also having similar try – except block.

Any code that you that you think is going to throw exception must be written inside the try block. If exception occurs then the control will automatically transfer to except block and the code written in the except block will get executed. There are some predefined or built-in exception classes in python whose super class is Exception. The exception classes are –

  • FileNotFoundError
  • PermissionError
  • InterruptedError
  • NameError
  • OverflowError
  • RuntimeError

And many more similar exception classes are there for specify the error or exception in python. You can refer to Python Doc
https://docs.python.org/3/library/exceptions.html for more details of exception. But don’t worry you no need to worry about keep remembering the names of above exception classes. What you can do is to use Exception class which is super of all other exception class.

Next part of exception is throwing the exception as and when you want your code to through it. So for doing that if your remember Java we are having throw statement. In python we are having raise statement to throw specific exception from try block which will get cached by except block. Here is the example to demonstrate simple use of try-except block and exception handling in Python.

Code to demonstrate the use of Exception Handling

Output of the above programs are as follows –

Happy Scenario of code where no Exception

Exception Handling Scenario

The second output is from except block. If you want to contribute feel free to comment and give output.

Posted in Uncategorized