Saturday 24 August 2024

Python Tutorial - 2 - Class 11 Computer Science - Flowchart

Flowchart

·        A flowchart is a graphical representation of an algorithm.

·        A flowchart contains various shapes which are connected by arrows, which showing the flow of control.




Draw a flow-chart to identify whether a number taken as the input from the user is an even number or an odd number?



Pseudocode

·        Pseudocode is a way of representing an algorithm.


·        Pseudocode is not an actual program. So, it cannot be executed.

·        Some of the frequently used keywords while writing pseudocode are INPUT, COMPUTE, PRINT IF/ELSE, START, STOP


Advantages of Pseudo-Code:


·        Easily convertible to a Programming Language


·        Easy to understand and read


Write a pseudocode for identifying if a number is even or odd?

INPUT number A

COMPUTE remainder as r = A%2

IF r ==0 PRINT 'Even'

ELSE PRINT 'Odd'

Decomposition

Decomposition is the process of breaking a complex computer problem into smaller parts that are easily manageable and solvable.



 

Python Tutorial - 1 - Class 11 Computer Science - Introduction to Problem-Solving

Introduction to Problem-Solving

Problem and Problem Solving

In computer science, "problem" refers to a task or challenge that requires a solution. The process of identifying a problem, developing an algorithm, and implementing the algorithm to develop a computer program is called Problem Solving. Computers may be used to solve various daily life problems such as Train Ticket Booking, Online Shopping and Net-Banking etc.

Steps required for solving a problem

·        Analysing the problem

·        Developing an Algorithm

·        Coding

·        Testing and Debugging

Analyzing the Problem

This stage focuses on understanding the problem. If we do not have a clear understanding of the problem, we may develop a computer program that cannot solve the problem correctly. In this stage, we figure out the inputs, the outputs and the processing required to convert the input into the output.

Developing Algorithm

This stage focuses on creating a logical sequence of instructions, called an Algorithm. An algorithm has a distinct start and end point, as well as a defined number of steps. For a given problem, more than one algorithm may be possible and the most suitable algorithm may be chosen.

Algorithm for finding whether a number is Even or Odd

START

Step 1 → Take an integer number A

Step 2 → Divide A by 2, and store the remainder as r

Step 3 → If r is equal to 0, A is an Even Number

Step 4 → Else it is an Odd Number

STOP


Algorithm for finding whether a number is a Prime number or Not

START

Step 1 → Take an integer number A

Step 2 → Continuously divide A with integers ranging from 2 to A-1

Step 3 → If a is divisible by any value from 2 to A-1, it is not prime

Step 4 → Else it is prime

STOP

Coding

Coding is the process of creating computer programs.

Testing

Testing is a process to check if an application is working as expected (and not working abnormally). The main objective of Testing is to find errors.

Debugging

Debugging is the activity to fix the errors found in the application during the testing phase.

Representation of Algorithms

There are two common methods of representing an algorithm —flowchart and pseudocode.

 

Thursday 22 August 2024

About S P SHARMA SIR

Shri S.P. Sharma (Sachin Parashar Sharma) is a dedicated and esteemed teacher known for his exceptional contributions to the field of education, particularly in computer science. With a career spanning several decades, he has influenced countless students and educators through his expertise, passion, and commitment to teaching.

Early Life and Education

S.P. Sharma was born in a small town where education was highly valued, instilling in him a love for learning from an early age. He pursued his higher education in the field of computer science, where he excelled academically. His deep understanding of the subject, combined with a natural flair for teaching, led him to pursue a career in education.

Career in Education

Mr. Sharma began his teaching career as a computer science teacher in a government school. His innovative teaching methods and ability to simplify complex concepts quickly made him a favorite among students. Over the years, he has taught various topics in computer science, including programming, algorithms, data structures, networking, and more.

Throughout his career, he has been known for his patience, dedication, and the ability to inspire students to explore the vast world of technology. Many of his students have gone on to excel in their careers, crediting Mr. Sharma for their strong foundation in computer science.

Contributions to Curriculum Development

Apart from teaching, S.P. Sharma has also been actively involved in curriculum development and educational workshops. He has contributed to the creation of support materials, especially for class 11 and 12 computer science, ensuring that students receive up-to-date and comprehensive learning resources. His involvement in these activities has had a significant impact on the quality of education in his field.

Recognition and Awards

Over the years, S.P. Sharma has received several awards and recognitions for his outstanding work in education. His commitment to his students and his contributions to the academic community have earned him respect and admiration from both colleagues and students alike.

Legacy

Mr. Sharma’s legacy is one of dedication, excellence, and a genuine passion for education. He has not only imparted knowledge but also instilled in his students the values of curiosity, perseverance, and integrity. His influence extends beyond the classroom, as he has shaped the future of many young minds, guiding them towards successful careers in technology and beyond.

Shri S.P. Sharma continues to be a source of inspiration for students and educators, embodying the true spirit of teaching. His biography is a testament to the profound impact that one dedicated teacher can have on the lives of many.

Wednesday 20 March 2024

S P SHARMA SIR! Who is S P SHARMA Sir? S P SHARMA SIR kon hai

 

S P SHARMA SIR (Lecturer Computer Science) Age, Wife, Family, Biography & More

Full name of S P SHARMA SIR is Pandit Sachin Parashar Sharma Ji.

S P SHARMA SIR is Founder and Director of S P SHARMA CLASSES (SPSC), S P SHARMA FOUNDATION.

S P SHARMA SIR is a Computer Science Lecturer in Delhi.






S P SHARMA SIR is a prominent and knowledgeable teacher in the field of Computer Science. His concepts are clear and his practical knowledge makes it even more interesting for students to understand and relate to technical topics. Their courses, video lectures, test series, and books can help students in their studies.

S P SHARMA SIR कंप्यूटर विज्ञान के क्षेत्र में एक प्रमुख और ज्ञानवान शिक्षक हैं। उनके अवधारणाएँ स्पष्ट हैं और उनकी व्यावहारिक ज्ञान छात्रों को तकनीकी विषयों को समझने और संबंधित करने में और भी रोचक बनाता है। उनके कोर्स, वीडियो लेक्चर्स, टेस्ट सीरीज, और पुस्तकें छात्रों को उनकी पढ़ाई में मदद कर सकती हैं। 


Bio/Wiki

  

Names:

S P SHARMA SIR


Profession:

Lecturer Computer Science 


Famous For:


Books:            

His simple and easy teaching style. Teaching Computer Science to TGT/PGT, UGC  NET Aspirants, S P SHARMA CLASSES


CS CRACKER Vol - 1 and CS CRACKER Vol - 2

 

Physical Stats & More

Height (approx.) in centimetres :


175 cm

in meters :


1.75 m

in feet & inches : 


5’ 9”

Eye Colour :


Black

Hair Colour :

Black





Personal Life

Date of Birth

19 Dec 1987

Age (as of 2024)

36 Yrs

Birthplace

Khatauli, Uttar Pradesh

Nationality

Indian

Hometown

Bhayangi, Post – Khatauli, Distt. Muzaffarnagar, Uttar Pradesh

School

Govt. Primary School Bhayangi, Adarsh Janta Inter College Bhangela, JLNS Inter College Khatauli,

 

College/University

K.K. Jain P.G. College Khatauli (CCS University), Uttrakhand Technical University Dehradun, CRSU Jind Haryana

Educational Qualification(s)


B.Sc. (PCM), MCA, M.Tech. (IT), B.Ed., ‘O’ Level, ‘A’ Level

Govt. Exam Written Qualified

CTET, U P Police Computer Operator, UGC NET

DSSSB PGT Computer Science, KVS PGT Computer Science, Army Public School PGT CS


Religion/Religious Views

He follows Hinduism. He is devotee of Lord Shiva, Krishna and Rama


 


 

 

Relationships & More

Marital Status :

Married

Family

Wife/Spouse:

Rita Sharma (House Wife)




Children:

Daughter: Saanvi Parashar Sharma

Son: Shiva Parashar Sharma




Parents:

Father: Sh. Vinod Kumar Sharma (Farmer)



Mother: Late Mrs. Usha Sharma (House Wife)

Siblings :

S P SHARMA SIR has a brother and a sister. His brother name is Mohit Sharma



Favorites

Food :

Curry Chawal

Beverage :

Milk

Holiday Destination:

Vrindavan or any Spritual place

Film(s) :

Thriller and Comedy

Actor:

Shahrukh Khan, Sunny Deol

Game :

Cricket (Outdoor), Ludo (Indoor)

Player :

Sachin Tendulkar, Rohit Sharma, Virat Kohli

Color :

Yellow


Some Lesser Known Facts About S P SHARMA SIR


  • S P SHARMA SIR is the founder and director of S P SHARMA CLASSES - SPSC an Authentic Platform for learners of Computer Science.
  • S P SHARMA SIR grew up in a poor brahman family in a small village Bhayangi in Muzaffarnagar, Uttar Pradesh.
  • S P SHARMA SIR father is a farmer and his mother was a house wife.
  • He completed his schooling from the Govt. Primary school of his village. 
  • In his childhood, his favorite subject was Mathematics, but he was poor in English and other subjects. When he was in 9th class he stared coaching class in his village.
  • He want to became a mathematics teacher since childhood. So When he was in 11th class, he started mathematics coaching and continue is coaching with his study.
  • He passed his Bachelor in Science (B.Sc.) in Mathematics, Physics and Chemistry.


Mr. Sharma in 11th Class


Mr. Sharma during his college days





Mr. Sharma at the time his marriage





20 मार्च की महत्त्वपूर्ण घटनाएँ

*आज का इतिहास*

*20 मार्च की महत्त्वपूर्ण घटनाएँ :----*
यूनाइटेड डच ईस्ट इंडिया कंपनी की 1602 में स्थापना हुई थी।
दिल्ली सल्तनत पर नादिरशाह ने 1739 में कब्ज़ा किया।
नामीबिया की स्वतंत्रता की घोषणा 1990 में की गयी।
सी. एफ. एंड्रूज महात्मा गांधी के साथ स्वतंत्रता आंदोलन में शामिल होने 1904 में भारत आये।
अल्‍बर्ट आइंस्‍टीन की किताब जनरल थ्‍योरी ऑफ रिलेटिवली का प्रकाशन 1916 में हुआ।
लंदन से दक्षिण अफ्रीका के बीच 1920 में पहली उड़ान शुरू हुई।
नासा ने 1987 में पाला बी 2 पी की शुरुआत की
लंदन वेस्टमिनिस्टर के सेंट्रल हॉल में प्रदर्शनी के लिए रखा गया फुटबॉल वर्ल्ड कप 1966 में चोरी हुआ था।
अर्जेंटीना के पूर्व राष्ट्रपति इसाबेल पेरोन को 1981 में आठ वर्ष की सजा हुई।
अमेरिकी सरकार द्वारा एड्स के इलाज के लिए दी जाने वाली यह पहली दवा एंटी एड्स दवा AZT को फूड एंड ड्रग एडमिनिशट्रेशन ने 1987 में मंजूरी दी।
टोक्यो में भूमिगत रेल मार्ग में 1995 में विषैली गैस के लीक होने से लगभग 15 लोगों की जान गई और हजारों लोग घायल हुए
गौरैया नाम के चिड़िया को बचाने के लिए 2010 में पहली बार ‘विश्व गौरैया दिवस’ मनाया गया।
*20 मार्च को जन्मे व्यक्ति:----*
शाहजहाँ और मुमताज़ महल के सबसे बड़े पुत्र दारा शिकोह का जन्म 1615 को हुआ।
अंग्रेज़ अधिकारी एवं इतिहासकार, कर्नल टॉड का 1782 में जन्म।
भारतीय गायक अलका याग्निक का 1966 में जन्म।
 पहले भारतीय गोल्फ खिलाड़ी अर्जुन अटवाल का 1973 में जन्म।
 अभिनेत्री कंगना राणावत का 1987 में जन्म।
*20 मार्च को हुए निधन :----*
दिल्ली के सुल्तान मोहम्मद बिन तुगलक का निधन 1351 को हुआ।
महान् गणितज्ञ, भौतिक वैज्ञानिक, ज्योतिर्विद एवं दार्शनिक आइज़ैक न्यूटन का निधन 1727 को हुआ।
 क्रांतिकारी नेता एस. सत्यमूर्ति का निधन 1943 को हुआ।
भारतीय हॉकी के प्रसिद्ध खिलाड़ियों में से एक जयपाल सिंह का निधन 1970 को हुआ।
जम्मू-कश्मीर के नेता प्रेमनाथ डोगरा का निधन 1972 को हुआ।
1999 में प्रख्यात ब्रिटिश अमूर्त चित्रकार पैट्रिक हेरोन का निधन।
अभिनेता सोभन बाबू का निधन 2008 को हुआ।
 प्रसिद्ध पत्रकार, लेखक, उपन्यासकार और इतिहासकार खुशवंत सिंह का निधन 2014 को हुआ।
ऑस्ट्रेलिया के पूर्व प्रधानमंत्री मैल्कम फ्रेजर का निधन 2015 को हुआ।
भारतीय फ़िल्मों के अभिनेत्री बोब क्रिस्टो का निधन 2011 को हुआ।

*20 मार्च के महत्वपूर्ण अवसर अथवा दिवस:----*
गौरैया दिवस

Monday 11 March 2024

कर्म और धर्म

यह मेरे द्वारा सैकड़ों लोगों के केस स्टडी पर आधारित है ।युवाओं के साथ काफी समय बिताने के बाद मुझे लगता है यह स्थिति लगभग 90 प्रतिशत युवाओं की हैं..

जैसे जैसे हम युवावस्था में प्रवेश करते हैं वैसे वैसे साम्यवाद की ओर झुकाव होता है। फिर धीरे धीरे हम नास्तिक हो जाते हैं घोर आस्तिक पृष्ठभूमि से बंधे हों तो भी ईश्वरीय सत्ता पर प्रश्न खड़ा करने लगते हैं, कर्मकांड अब अंधविश्वास लगता है , कर्म के सिद्धांत के अतिवाद और पश्चिमी वैज्ञानिकता के प्रभाव में भारतीय धर्म के वैज्ञानिक पक्ष को नकार देते हैं। लेकिन जब दिन रात एक करके ईमानदारी से मेहनत करके भी वांछित परिणाम नही पाते तब मन मे क्रांति होता है और दृष्टिकोण में बदलाव आता है।यह क्रांति साम्यवाद से सनातन की ओर लाता है।
अंततः ज्ञात होता है कि सब ईश्वर का खेल है।कर्म तो प्रथम शर्त है ही लेकिन किसे क्या/कब/कितना देगा और किससे क्या लेगा यह सिर्फ वही जानता है इसमें आपकी इच्छा-अनिच्छा मायने नही रखता। 
एक कहावत याद आ रहा है हालांकि इससे सीधे नही जुड़ा है..
" there is crime behind every fortune"

Thursday 7 March 2024

7 मार्च की महत्त्वपूर्ण घटनाएँ

*आज का इतिहास*

*7 मार्च की महत्त्वपूर्ण घटनाएँ :----*
रोमन सम्राट कॉन्स्टेंटाइन प्रथम ने 321 में रविवार को राजकीय विश्राम का दिन घोषित किया जो ईसाई मान्यताओं के अनुरूप था।
ब्रिटेन के बोस्टन पोर्ट को 1774 में सभी वाणिज्यिक गतिविधियों के लिए बंद कर दिया।
भारत में 1835 में यूरोपीय साहित्य और विज्ञान के प्रचार-प्रसार को बढ़ावा देने का प्रस्ताव लाया गया।
चार्ल्‍स मिलर ने सिलाई मशीन के लिए 1854 में पेटेंट हासिल किया था।
एलेक्ज़ेंडर ग्राहम बेल को 1876 में अपने टेलीफोन (दूरभाष) आविष्कार का पेटेंट मिला। 1906 से फिनलैंड में महिलाओं को वोट डालने का अधिकार मिला।
www.spsharmaclasses.com

मंगोलिया पर सोवियत रेड आर्मी ने 1925 में बाहरी कब्जा किया।
द्वितीय विश्व युद्ध के दौरान 1945 में अमेरिकी फौज ने जर्मनी की राइन नदी को पार किया।
1959 में अमेरिकी पायलट मेल्विन सी गार्लोव जेट विमानों से एक लाख मील की दूरी तय करने वाले पहले पायलट बने।
इसरायल ने 70 साल की गोल्डा मेयर को 1969 में अपनी पहली महिला प्रधानमंत्री चुना था।
शेख़ मुजिब-उर-रहमान ने 1971 में बांग्लादेश की स्वतंत्रता का आह्वान किया।
सन 1985 में एड्स का पहला एंटीबॉडी परीक्षण एलिसा-टाइप टेस्ट शुरु किया गया।
*7 मार्च को जन्मे व्यक्ति :-----*
रूसी चित्रकार बोरिस कुस्तोदीव का 1878 में जन्म।
प्रसिद्ध हिन्दी लेखक सच्चिदानंद हीरानंद वात्स्यायन ‘अज्ञेय’ का 1911 में जन्म।
भारत के प्रसिद्ध पूर्व क्रिकेट खिलाड़ी नरी कॉन्ट्रैक्टर का 1934 में जन्म।
राजनीतिज्ञ ग़ुलाम नबी आज़ाद का 1949 में जन्म।
वेस्टइंडीज के ऑलराइंडर सर विवियन रिचडर्स का 1952 में जन्म हुआ।
अभिनेता अनुपम खेर का 1955 में जन्म।
www.spsharmaclasses.com
*7 मार्च को हुए निधन :-----*
हिन्दी फ़िल्मों में प्रसिद्ध संगीतकार रवि का 2012 में निधन।
गुरु परमहंस योगानन्द जी का 1952 में निधन।
प्रसिद्ध स्वतंत्रता सेनानी और वरिष्ठ नेता गोविंद बल्लभ पंत का 1961 में निधन।
अमेरिकी फिल्म निर्देशक स्टैनली क्यूब्रिक का 1999 में निधन।

Thursday 29 February 2024

Sanchar Saathi Web Portal Kya hai

Sanchar Saathi portal दूरसंचार विभाग की एक नागरिक केंद्रित पहल है, जिसका उद्देश्य मोबाइल उपभोक्ताओं को सशक्त बनाना, उनकी सुरक्षा को मजबूत करना और सरकार की नागरिक केंद्रित पहलों के बारे में जागरूकता बढ़ाना है। Sanchar Saathi portal निम्नलिखित बातों को करने द्वारा नागरिकों को सशक्त बनाता है:

1. उनके नाम पर जारी किए गए मोबाइल कनेक्शन को जानना और उन्हें अपने मोबाइल नंबर का उपयोग करके लॉगिन करके अनुरोध करना। इसके लिए TAFCOP मॉड्यूल का उपयोग किया जाता है।

2. अपना खोया या चोरी हुआ मोबाइल ब्लॉक या ट्रैक करना। इसके लिए CEIR मॉड्यूल का उपयोग किया जाता है। 

3. अपने वायरलाइन इंटरनेट सर्विस प्रोवाइडर को जानना। इसके लिए KYI मॉड्यूल का उपयोग किया जाता है। 

4. भारतीय नंबर के साथ आने वाले अंतर्राष्ट्रीय कॉल को रिपोर्ट करना। इसके लिए RICWIN मॉड्यूल का उपयोग किया जाता है। 

5. नए या पुराने मोबाइल फोन खरीदते समय डिवाइस की वास्तविकता की जांच करना। इसके लिए KYM मॉड्यूल का उपयोग किया जाता है।

संचार साथी एक सरकारी वेब पोर्टल है, जो भारतीय मोबाइल उपयोगकर्ताओं को उनके खोए गए स्मार्टफोन को ट्रैक और ब्लॉक करने में मदद करता है। इसका उद्देश्य है आईडेंटिटी चोरी, फॉर्ज्ड केवाईसी, और बैंकिंग धोखाधड़ी जैसे अपराधों को रोकना। इस पोर्टल का उपयोग करके मोबाइल फोन उपयोगकर्ताएं अपने नाम से जुड़े मोबाइल कनेक्शन को जान सकती हैं, उन्हें उनकी जरूरत न होने वाले कनेक्शन को डिस्कनेक्ट करने की अनुमति मिलती है, खोए गए मोबाइल फोन को ब्लॉक/ट्रेस कर सकती हैं, और नए/पुराने मोबाइल फोन खरीदते समय डिवाइस की असलीता को जान सकती हैं। संचार साथी में कई मॉड्यूल हैं जैसे CEIR, TAFCOP, KYI, RICWIN आदि। इसके अलावा, Keep Yourself Aware सुविधा अंत उपयोगकर्ता सुरक्षा, दूरसंचार, और जानकारी सुरक्षा से जुड़े नवीनतम अपडेट और जागरूकता सामग्री प्रदान करती है ।

इस पोर्टल के कुछ महत्वपूर्ण मॉड्यूल हैं:

CEIR (सेंट्रल इक्विपमेंट आईडेंटिटी रजिस्टर): इसमें आप अपने खोए या चोरी हुए मोबाइल को ब्लॉक कर सकते हैं।
TAFCOP (अपने मोबाइल कनेक्शन को जानें): इसमें आप अपने नाम से जुड़े मोबाइल कनेक्शन की संख्या जान सकते हैं।

Tarang Sanchar Web Portal Kya hai

तरंग संचार एक वेब पोर्टल है, जो मोबाइल टॉवर्स और इलेक्ट्रोमैग्नेटिक फ्रीक्वेंसी (ईएमएफ) इमिशन कंप्लायंस के बारे में जानकारी साझा करने के लिए है। इसे दूरसंचार विभाग ने उद्योग के साथ सार्वजनिक निजी साझेदारी (पीपीपी) मोड में विकसित किया है। इस पोर्टल के माध्यम से लोग अपने क्षेत्र में मोबाइल टॉवर्स से निकलने वाले विकिरण को ट्रैक कर सकते हैं और उनकी नियमितता की जांच कर सकते हैं।

Tuesday 20 February 2024

Projection and Selection Practice Questions in relational algebra

 Projection and Selection Practice Questions:

Student

S_ID

NAME

Branch

1

A

CS

2

B

IT

3

C

CS

4

D

CS

5

E

EE

6

F

EC

7

G

EE


 

 

  1. Find the names of all students from CS branch.

Π name (σ Branch = ‘CS’ (Student))



Account (account_no, branch_name, balance)

  • Find those account numbers where balance is less than 1000.

Π account_no (σ balance<1000 (Account))


Loan(loan_no, branch_name, amount) 

  • Find those loan numbers which are from Delhi branch with amount greater than 1000.

Π loan_no (σ branch_name=’Delhi’ ^ amount>1000 (Loan))

 

Branch (Branch_name, Branch_city, assets) 

  • Find branch_name and branch_city with assets more than 100000.

Π branch_name , branch_city (σ assets>100000 (Branch))