Posts

Featured Post

Main Data Structures

Image
  These are the Main Data Structures Arrays Stacks Queues Linked Lists Trees Graphs Hash Tables 1. Array   An array is the simplest and most widely used data structure. Other data structures like stacks and queues are derived from arrays. Here’s an image of a simple array of size 4, containing elements (1, 2, 3 and 4). Each data element is assigned a positive numerical value called the Index , which corresponds to the position of that item in the array. The majority of languages define the starting index of the array as 0. The following are the two types of arrays: One-dimensional arrays (as shown above) Multi-dimensional arrays (arrays within arrays)   Basic Operations Following are the basic operations supported by an array. Traverse − print all the array elements one by one. Insertion − Adds an element at the given index. Deletion − Deletes an element at the given index. Search − Searches an element using the given index or by the value. Update − Updates an e...

Program to print the elements of an array in reverse order

Image
 In this program, we need to print the elements of the array in reverse order that is; the last element should be displayed first, followed by second last element and so on. Above array in reversed order: Algorithm STEP 1: START STEP 2: INITIALIZE arr[] = {1, 2, 3, 4, 5} STEP 3: PRINT "Original Array:" STEP 4: REPEAT STEP 5 for(i=0; i<arr.length ; i++) STEP 5: PRINT arr[i] STEP 6: PRINT "Array in reverse order" STEP 7: REPEAT STEP 8 for(i= arr.length-1; i>=0; i--) STEP 8: PRINT a[i] STEP 9: END Program: public   class  ReverseArray {        public   static   void  main(String[] args) {              //Initialize array               int  [] arr =  new   int  [] { 1 ,  2 ,  3 ,  4 ,  5 };      ...

TCS Interview Experience 2021

    TCS Interview Experience 2021 Round 1: I attempted the NQT test on 29th October 2020. The total duration of the test was 120 mins. The test consisted of the following 3 sections: Numerical Ability (26 questions – 40 mins) Reasoning Ability (30 questions – 50 mins) Verbal Ability (24 questions – 30 mins) The IT Programming NQT was scheduled for 21st February. This test consisted of : 10 Programming MCQs (15 mins) 2 coding questions (45 mins) I received a mail regarding the invite to an interview on 18th Nov 2020 stating that the interview was being scheduled on 19th Nov 2020. Round 2: It was a virtual interview. There were three-panel members, One for TR+MR+HR. HR Questions: Are you willing to relocate? Are you comfortable with shifts? My percentage in 10th, 12th, and B.Tech degree. TR Questions: Introduction and all the subjects that I have learned during my B.Tech journey. My favorite coding language and subject. What is the difference between overloading and overrid...

कम्प्यूटर की विशेषताएं, सीमाये व इतिहास

कम्प्यूटर की विशेषताएं – Characteristics of Computer in Hindi कम्प्यूटर ने हम इंसानों द्वारा किए जाने वाले अधिकतर कामों पर कब्जा कर लिया हैं और इंसान को उसकी क्षमता से अधिक कार्य-क्षमता प्रदान की हैं. यह सब इस मशीन के खास गुणों के कारण संभव हैं. तभी हम इंसान कम्प्यूटर को अपने जीवन का हिस्सा बना रहे हैं. कम्प्यूटर की कुछ खास विशेषताएँ निम्न हैं. 1. गति – Speed कम्प्यूटर बहुत तेज गति से कार्य करता हैं. यह लाखों निर्देशों को केवल एक सैकण्ड में ही संसाधित कर सकता हैं. इसकी डाटा संसाधित करने की गति को माइक्रोसैकण्ड (10 –6 ), नैनोसैकण्ड (10 -9 ) तथा पिकोसैकण्ड (10 -12 ) में मापा जाता हैं. आमतौर पर प्रोसेसर की एक युनिट की गति दसियों लाख निर्देश प्रति सैकण्ड यानि MIPS (Millions of Instructions Per Second) इस मशीन का निर्माण ही तीव्र गति से कार्य करने के लिए किया गया हैं. 2. शुद्धता – Accuracy कम्प्यूटर GIGO (Garbage in Garbage Out) सिद्धांत पर कार्य करता हैं. इसके द्वारा उत्पादित परिणाम त्रुटिहीन रहते हैं. अगर किसी परिणाम में कोई त्रुटि आती हैं तो वह इंसानी हस्तक्षेप तथा प्रविष्ट निर्देशों के ...

कम्प्यूटर की परिभाषा

कम्प्यूटर की परिभाषा – Computer Definition in Hindi “Computer एक मशीन है जो कुछ तय निर्देशों के अनुसार कार्य को संपादित करते है. और ज्यादा कहे तो Computer एक इलेक्ट्रोनिक उपकरण है जो इनपुट उपकरणों की मदद से आँकडों को स्वीकार करता है उन्हें प्रोसेस करता है और उन आँकडों को आउटपुट उपकरणों की मदद से  सूचना के रूप में प्रदान करता है.” इस परिभाषा के स्पष्ट है कि कम्प्यूटर युजर द्वारा पहले कुछ निर्देश लेता है जो विभिन्न इनपुट डिवाइसों की मदद से प्रविष्ट कराए जाते है. फिर उन निर्देशों को प्रोसेस किया जाता है, और आखिर में निर्देशों के आधार पर परिणाम देता है जिसे आउटपुट डिवाइसों की मदद से प्रदर्शित करता है. निर्देशों में कई प्रकार का डेटा शामिल होता है. जैसे; संख्या, वर्णमाला, आंकड़े आदि. इस डेटा के अनुसार ही कम्प्यूटर परिणाम बनाता है. यदि कम्प्यूटर को गलत आंकड़े दिए जाते है तो कम्प्यूटर भी गलत ही परिणाम देता है. मतलब साफ है कि कम्प्यूटर  GIGO – Garbage in Garbage Out  के नियम पर काम करता है. क्या आप जानते है? कम्प्यूटर का जनक “ चार्ल्स बैबेज ” को माना गया है. इन्होने सन 1833 में...

E Toolbox

  Hindi Font Typing Tool Google Input Tools MS Indic Language Input Tool Online Font converter Utility  Krutidev to Unicode Kurtidev to Mangal Krutidev to Chanakya Online OCR Tool Image to Text Free OCR Online PDF Utility JPG to PDF onverter Word to PDF Online Image editor Tool Online PhotoShop Fotor photo creatives Online Translator Google Translator Bing Translator Online Free SMS Tool bollywoodmotion A Free SMS Online Mobile Tracker trackmobile mobilenumbertracker Online Word Editor Google Docs Online Spell Checker spellcheck spellcheckplus File Format Converter Freefileconvert Type: odt, doc, pdf, mp3, mpg, docx, avi, pptx... Online-convert Type: audio, Vedio, ebook.... zamzar Type: odt, doc, pdf, mp3, mpg, docx, avi, pptx....  Online File Splitter/Joiner PDFJoin splitpdf foxyutils

System Software and Operating Systems Question Answers

Click Here for PDF Notes