INTRODUCTION to PROGRAMMING Dr

Total Page:16

File Type:pdf, Size:1020Kb

INTRODUCTION to PROGRAMMING Dr INTRODUCTION TO PROGRAMMING Dr. Dipanjan Roy IIIT, Lucknow 2 Dr. Dipanjan Roy, IIIT, Lucknow A warm welcome to all of you! 3 Dr. Dipanjan Roy, IIIT, Lucknow Why are you here? 4 Dr. Dipanjan Roy, IIIT, Lucknow What is your expectation from this class? 5 Dr. Dipanjan Roy, IIIT, Lucknow Is programming important for your career? Why? 6 Dr. Dipanjan Roy, IIIT, Lucknow What is Programming? . It is the process of creating a set of instructions that tell a computer how to perform a task. It is sequence of instruction along with data for a computer. Programming can be done using a variety of programming "languages," such as SQL, Java, Python, C++, etc. 7 Dr. Dipanjan Roy, IIIT, Lucknow Hierarchy of Computer Languages High Assembly Machine Computer Level Language Language Hardware Language 8 Dr. Dipanjan Roy, IIIT, Lucknow Programming Languages . C . C++ . Java . Python . JavaScript . R . Ruby . SCALA . C# 9 Dr. Dipanjan Roy, IIIT, Lucknow Types of Programming 1. Web Development Programming 2. Desktop Application Programming 3. Distributed Application Programming 4. Core Programming 5. System Programming 6. Programming Scientist https://www.wikihow.com/Become-a-Programmer 10 Dr. Dipanjan Roy, IIIT, Lucknow How to become a programmer? WRITE CODE OPTIMIZE/ COMPILE IMPROVE DEBUG EXECUTE 11 Dr. Dipanjan Roy, IIIT, Lucknow Important Tips and Links . Resources: . https://www.geeksforgeeks.org . https://www.tutorialspoint.com/index.htm . https://stackoverflow.com/ 12 Dr. Dipanjan Roy, IIIT, Lucknow Important Tips and Links . Online Coding Platform: . https://www.topcoder.com . https://www.coderbyte.com/ . https://www.hackerrank.com/dashboard . https://www.codechef.com/ . https://www.spoj.com/ . https://www.codingame.com/start 13 Dr. Dipanjan Roy, IIIT, Lucknow Important Tips and Links . Online Education Platform: . https://www.lynda.com/ . https://www.udemy.com/ . https://www.khanacademy.org/ . https://www.coursera.org/ . https://alison.com/ . https://www.edx.org/ . https://www.futurelearn.com/ . https://www.udacity.com/ . https://www.codecademy.com/ THANK YOU .
Recommended publications
  • Dc Prf-SPOJ-Classical.Ps
    Archives of the Sphere Online Judge classical problemset Editors: 1 u.swarnaprakash NghiaHemant Nguyen Verma Hoang Blue Mary Andrés Leonardo Rojas LukasŁukasz Mai Kuszner Adrian Kosowski Duarte Stephenbalaji Merriman Adrian Kuegel Brian YashRahul Garg Camilo Andrés Varela León Spooky RobertNeal Zane Rychcicki Jin Bin Paritosh Aggarwal VOJChinh problem Nguyen setters Thanh-Vy Hua Le Đôn Khue ?????Paweł Dobrzycki Roman Sol Csaba Noszaly KonradPatryk Pomykalski Piwakowski Wanderley Guimaraes Analysis Mode (Bogardan ZhangFrank RafaelTaizhi Arteaga Michał Czuczman Hellkite) MauroMiorel PaliiPersano Jelani Nelson (Minilek) Abhilash I P.KasthuriTomek Czajka Rangan• Daniel Gómez Didier Paul Draper SebastianPripoae Toni Kanthak Ngô Minh Đu+’c Bobby Xiao BartłomiejReinier César Kowalski Mujica Neal Wu Darek Dereniowski IvanHdez Alfonso Prasanna Nguye^~n Ha Du+o+ng OlamendyRadu Grigore Piotr Łowiec Nguyen Minh Hieu MartinMark Gordon Bader Robin Nittka Qu Jun dqdLovro Puzar Ahmed Aly Fabio Avellaneda PiotrLordxfastx Piotrowski Adam Dzedzej Hoang Hong Quan TomaszRuslan Sennov Goluch Ajay Somani Nguyen Van Quang Huy Rahulabhijith reddy d Nikola P Borisov Tomas. Bob Diego Satoba Mir Wasi Ahmed Pawel Gawrychowski Luka Kalinovcic Matthew Reeder yandry pérez Rafal clemente Marco Gallotta Tomasz Niedzwiecki Pavel Kuznetsov Andrés Mejía-Posada Robert Gerbicz Andres Galvis Chen Xiaohong Slobodan Simon Gog Alfonso2 Peterssen Kashyap KBR Krzysztof Kluczek John Rizzo Jose Daniel Rdguez Race with time Abel Nieto Rodriguez Michał Małafiejski Bogusław K. Osuch Ivan Metelsky Gogu Marian Phenomenal Le Trong Dao Nguyen Dinh Tu Muntasir Azam Khan 2 Last updated: 2009-10-09 09:00:05 3 Preface This electronic material contains a set of algorithmic problems, forming the archives of the Sphere Online Judge (http://www.spoj.pl/), classical problemset.
    [Show full text]
  • A Flipped Classroom Approach for Teaching a Master's Course on Artificial Intelligence
    A Flipped Classroom Approach for Teaching a Master’s Course on Artificial Intelligence Robin T. Bye? Software and Intelligent Control Engineering Laboratory Department of ICT and Natural Sciences Faculty of Information Technology and Electrical Engineering NTNU — Norwegian University of Science and Technology Postboks 1517, NO-6025 Ålesund, Norway Email: [email protected] Website: http://www.robinbye.com Abstract. In this paper, I present a flipped classroom approach for teaching a master’s course on artificial intelligence. Traditional lectures from the classroom are outsourced to an open online course that con- tains high quality video lectures, step-by-step tutorials and demonstra- tions of intelligent algorithms, and self-tests, quizzes, and multiple-choice questions. Moreover, selected problems, or coding challenges, are cherry- picked from a suitable game-like coding development platform that rids both students and the teacher of having to implement much of the fun- damental boilerplate code required to generate a suitable simulation en- vironment in which students can implement and test their algorithms. Using the resources of the online course and the coding platform thus free up much valuable time for active learning in the classroom. These learning activities are carefully chosen to align with the intended learn- ing outcomes, curriculum, and assessment to allow for learning to be constructed by the students themselves under guidance by the teacher. Thus, I perceive the teacher’s role as a facilitator for learning, much similar to that of a personal trainer or a coach. Emphasising problem- solving as key to achieving intended learning outcomes, the aim is to select problems that strike a balance between detailed step-by-step tuto- rials and highly open-ended problems.
    [Show full text]
  • L&Rsquo;Ecole 42 Meilleure École De Programmation Du Monde, Vraiment ?,Les Salaires Informatiques Progressent Un Peu En
    Télégrammes : Portalis porté par Sopra Steria , LinkedIn exclu des stores en Russie, Nokia brevète son assistant Viki, Semtech séduit par Avanquest. La Justice confie Portalis à Sopra-Steria. Dans un avis notifié le 28 décembre dernier, le ministère de la Justice confie à la SSII Sopra-Steria la réalisation de Portalis, un programme applicatif visant à remplacer les applications actuellement en place pour gérer les contentieux civils des tribunaux de grande instance, tribunaux d’instance, cours d’appel et conseils des prud’hommes. Conclu pour une durée de 7 ans, cet accord-cadre est estimé à environ 13,6 millions d’euros. Décomposé en 6 étapes et devant aboutir à une dématérialisation de bout-en-bout de la justice civile, le programme Portalis complète les autres projets de refonte applicative de la Justice comme Astrea (casier judiciaire), Cassiopée (chaîne pénale), Comedec (dématérialisation des actes d’état civil) ou Genesis (gestion des personnes écrouées). LinkedIn bouté de Google et Apple en Russie. Le Kremlin monte encore d’un cran son courroux contre le réseau social professionnel, maintenant propriété de Microsoft. Après l’avoir bloqué pour non-respect de la loi nationale sur l’obligation d’héberger les données sur le territoire Russe, Moscou demande à Google et à Apple de retirer l’application de leur magasin applicatif (Google Play et App Store). Une demande confirmée par les deux sociétés américaines, a indiqué le New York Times en fin de semaine dernière. Par contre, les deux firmes n’ont pas indiqué si elles allaient se plier aux exigences de la Russie. Pour mémoire, Apple a retiré l’application duNew York Times à la demande des autorités chinoises.
    [Show full text]
  • Declaring Type in Javascript
    Declaring Type In Javascript RoscianTweedy Sonnyand picayune sharp his Geoff taig screakstickle somolto. acrobatically Braden remains that Laurie inclinatory: outvoices she his pauperises negativity. her nigrosine runabout too vyingly? Dart is called the collection of the ways of complexity and cons to type in javascript parameter and are available for defining a loop through Chapter 16 Variables Scopes Environments and Closures. As declaring types that type named suit as unicode. If billing account is no matter, arrays with ascii character, is loaded even more? Type running a subtype of niche if their subtype relationship was declared. Expected in to evaluate to a full correctness of life single declaration would take. When declaring types define your primitive types come with the declared in several dimensions, but also access. Variables in javascript, type is not declare types are. Of course, taken a reference to the function is passed. Why in javascript files in new type in javascript parameter is already subscribed. The type inference kicks in for newly declared variables and fields, properties, arrays, for statement variables, overriden methods, method return types and generators. There is declared and declares no right declaration literals and allow javascript, it in our set reduces to. Self guided, community taught developer looking to enable knowledge, domain, and soothe animal pictures with fly world! Although memory that? Difference Between 'null' and 'undefined' in JavaScript TO. Like JavaScript and pride other language TypeScript also provides basic. The dilemma of speed versus elegance is an interesting one. Function glob glob points to global object typeof window. If your first to ensure that the function performs one of the same way to restrict the url of variables that key.
    [Show full text]
  • Prolog W Formie Dialogu Pomiędzy Studentem I (Cokolwiek) Sokratycznym Profesorem
    Teksty Drugie 2007, 1-2, s.127-143 Prolog w formie dialogu pomiędzy studentem i (cokolwiek) sokratycznym Profesorem. Bruno Latour Tłumaczenie zbiorowe pod kierunkiem Krzysztofa Abriszewskiego http://rcin.org.pl Bruno UTOUR Prolog w formie dialogu pomiędzy studentem i (cokolwiek) sokratycznym Profesorem^ {Gabinet w London School of Economics, późne wtorkowe popołudnie w lutym, przed pójściem do Beaver na kwartę piwa. Słychać ciche, ale natarc^we pukanie. Student za­ gląda do gabinetu.) Student: - Czy nie przeszkadzam? Profesor: - Nie, to i tak są moje godziny pracy. Proszę wejść i usiąść. S: - Dziękuję. P: - Mniemam, że... czuje się Pan trochę zagubiony? S: - Właściwie tak. Muszę przyznać, iż trudno mi zastosować Teorię Aktora-Sieci w moich badaniach nad organizacjami. P: - Nic dziwnego - nie można zastosować jej do niczego! S: - Ale uczono nas... mam na myśli... wydawało mi się, że to tutaj całkiem gorący towar. Czy mówi Pan, że jest zupełnie bezużyteczna? P: - Mogłaby być użyteczna, ale tylko jeśli nie „stosuje” się do niczego. S: - Przepraszam, ale czy to ma być jakaś sztuczka Zen? Muszę Pana ostrzec, że jestem jedynie doktorantem w badaniach nad organizacjami, więc proszę nie ocze­ kiwać... Nie jestem w temacie, jeśli chodzi o francuską myśl, przeczytałem trochę Mille Plateaux, ale nie bardzo zrozumiałem, o co tam chodzi... 1 Tłumaczenia zbiorowego pod kierunkiem Krzysztofa Abriszewskiego dokonali: Adrian Gahbler, Andrzej Kilanowski, Paweł Mil, Radosław Naworski, Natalia Organista, Dawid Piekło, Robert Szatkowski, Wojciech Wańczyk, Jakub Wolski. ^ http://rcin.org.pl Prezentacje P: - Przepraszam. Nie chciałem się wymądrzać. Chodzi o to, że ANT (skrót od ang. Actor-Network Theory - przyp. tłum.) przede wszystlsim jest negatywnym ro­ zumowaniem.
    [Show full text]
  • Multi-Game Code-Duel for Learning Programming Languages Sven Groppe, Ian Posse¨
    c 2019 by the authors; licensee RonPub, Lubeck,¨ Germany. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/4.0/). Open Access Open Journal of Information Systems (OJIS) Volume 6, Issue 1, 2019 http://www.ronpub.com/ojis ISSN 2198-9281 Multi-Game Code-Duel for Learning Programming Languages Sven Groppe, Ian Posse¨ Institute of Information Systems (IFIS), University of Lubeck,¨ Ratzeburger Allee 160, D-23562 Lubeck,¨ Germany, groppe@ifis.uni-luebeck.de, [email protected] ABSTRACT Software developers compose computer instructions following the rules defined in programming languages for the purpose of automatic information processing. However, different programming languages have different syntax and semantic rules, and support different programming paradigms and design patterns. Learning a programming language needs many efforts and much practicing in order to master the rules and apply the patterns. Leaning multiple programming languages at the same time, of course, needs more efforts. In this work we develop the concept of multi-game and an e-learning platform called “Multi-Game Platform for Code-Duels” for learning multiple programming languages easily and efficiently. A multi-game is a video game, which consists of several mini-games. Dividing a big game into mini-games reduces the development efforts and implementation complexity. “Builders” is a multi-game developed in our platform consisting of three mini-games. Each mini-game can be solved by implementing a program by learners using different languages. Using our multi-game platform, each mini-game of Builders can be developed easily and played independently of the other mini-games.
    [Show full text]
  • World Record Lunch
    World Record Lunch A group of people is trying to beat the world record for the largest number of people having lunch at the same time. In order achieve this goal, they are using the country's largest bridge and they have decided to arrange the tables following the shape of the letter 'S'. The table layout can be described by 4 integers: NH, NV, H and V. The two first integers, NH and NV, represent respectively the number or rows and number of columns in the layout. The last two integers represent respectively the number of tables in each row and column. For a given layout, the tables are numbered consecutively, starting with table #1 in the top-right corner. The following figure illustrates several possible layouts: Thousands of groups of people are expected to come, and the organizers have to define where to seat everyone. Each group needs a certain number of tables and they do not share tables with other groups. Furthermore, a group wants their tables to be together and not split among rows and columns, that is, they want a set of consecutive tables either on the same row or on the same column. If this condition cannot be met, the group prefers to go away and have lunch at another place. The groups also enjoy having some privacy and prefer unoccupied adjacent tables, that is, no one at the table exactly before the first table of the group, and no one at the table exactly after the last table of the group. If this happens, we say that the group found a private place.
    [Show full text]
  • Every Programmer Should Know
    Every Programmer Should Know Github A collection of (mostly) technical things every software developer should know. ☝️ These are resources I can recommend to every programmer regardless of their skill level or tech stack Highly opinionated . Not backed by science. Comes in no particular order ♻️ U like it? ⭐️ it and share with a friendly developer! U don't like it? Watch the doggo P.S. You don't need to know all of that by heart to be a programmer. But knowing the stuff will help you become better! P.P.S. Contributions are welcome! Introduction Map of Computer Science 40 Key Computer Science Concepts Explained In Layman’s Terms Falsehoods Awesome Falsehoods Curated list of falsehoods programmers believe in. Check for things you do not know about Strings, Addresses, Names, Numbers, Emails, Timezones and Dates and more. Algorithms Big O Cheatsheet Grokking Algorithms Algorithms Visualization Data Structures UC Berkeley, Data Structures Course Foundations of Data Structures - EDX Data Structures - Coursera Mathematics for Computer Science - Eric Lehman Numbers How to Count Floating Point Guide What Every Computer Scientist Should Know About Floating-Point Arithmetic Basic Number Theory Every Programmer Should Know... Strings Unicode and Character Sets Homoglyphs Unicode Common Locale Data Repository ASCII UTF-8 Latency Interactive Latency Infographics Latency Numbers Every Programmer Should Know Time Some notes about time Memory What every Programmer should know about memory Distributed Systems Designing Data-Intensive Applications
    [Show full text]
  • Theoretical and Practical Aspects of Programming Contest Ratings
    Department of Informatics Faculty of Mathematics, Physics and Informatics Comenius University, Bratislava, Slovakia Theoretical and Practical Aspects of Programming Contest Ratings Dizertaèná práca v odbore doktorandského ¹túdia: 11-80-9 teoretická informatika RNDr. Michal Fori¹ek ©koliteľ: prof. RNDr. Branislav Rovan, Ph.D. Bratislava, 2009 iii Acknowledgements First and foremost, I would like to thank my advisor prof. Branislav Rovan for being an exceptional and inspirational teacher and advisor. I'm also grateful to other faculty members { and students { at our university. Thanks to many of them, both studying and teaching here has been a pleasure, and that is one of the factors that significantly influenced my career choices so far. But without any doubt my biggest thanks must go to my fiancée Jana. Without her constant love, support and understanding I would not be able to finish this Thesis. iv Contents Abstract (English) 1 Abstrakt (Slovensky) 3 1 Introduction 5 1.1 Goals of the Thesis . .5 1.2 Outline of this Thesis . .6 1.3 Motivation . .7 2 Background 11 2.1 Programming contests landscape . 11 2.1.1 Important programming contests . 11 2.1.2 Programming contests terminology . 14 2.1.3 Overview of the existing research on competitions . 16 2.2 Rating Systems and Rating Algorithms . 20 2.2.1 Introduction . 21 2.2.2 Overview of the Elo rating system . 22 2.2.3 TopCoder's event format . 23 2.2.4 TrueSkill(TM) rating algorithm . 25 2.2.5 eGenesis rating algorithm . 25 2.3 Item Response Theory . 26 2.3.1 Introduction and motivation .
    [Show full text]
  • PROGRAMMING EXERCISES EVALUATION SYSTEMS an Interoperability Survey
    PROGRAMMING EXERCISES EVALUATION SYSTEMS An Interoperability Survey Ricardo Queirós1 and José Paulo Leal2 1CRACS & INESC-Porto LA & DI-ESEIG/IPP, Porto, Portugal 2CRACS & INESC-Porto LA, Faculty of Sciences, University of Porto, Porto, Portugal Keywords: Learning Objects, Standards, Interoperability, Programming Exercises Evaluation. Abstract: Learning computer programming requires solving programming exercises. In computer programming courses teachers need to assess and give feedback to a large number of exercises. These tasks are time consuming and error-prone since there are many aspects relating to good programming that should be considered. In this context automatic assessment tools can play an important role helping teachers in grading tasks as well to assist students with automatic feedback. In spite of its usefulness, these tools lack integration mechanisms with other eLearning systems such as Learning Management Systems, Learning Objects Repositories or Integrated Development Environments. In this paper we provide a survey on programming evaluation systems. The survey gathers information on interoperability features of these systems, categorizing and comparing them regarding content and communication standardization. This work may prove useful to instructors and computer science educators when they have to choose an assessment system to be integrated in their e-Learning environment. 1 INTRODUCTION These surveys seldom address the PES interoperability features, although they generally One of the main goals in computer programming agree on the importance of the subject, due to the courses is to develop students’ understanding of the comparatively small number of systems that programming principles. The understanding of implement them. This lack of interoperability is felt programming concepts is closely related with the at content and communication levels.
    [Show full text]
  • Function Expression Vs Declaration Javascript
    Function Expression Vs Declaration Javascript Spiro rewired his Cobden hutted drudgingly, but vaguer Vail never lullaby so hortatorily. Self-determining or salvageable, Archibold never prologuize any Pharisee! Filagree Hillard overcapitalising tight and interstate, she conserve her pocket disqualifying pertinaciously. In JavaScript there are land different ways to intact a function This post will talk dump the difference between the following ways Function expression var fn. JavaScript has given different ways of creating functions Function declarations have been used for age long output but function expressions have. A Deep creek into JavaScript Functions Based on my readership I have. This article aims to constant a walkthrough the appear of functions in JS from office very. Reddit on arrays, javascript puts all your place arrow syntax: arrow syntax to limit where would like with a module css full name some people have. The lexical context the other values can appropriately assign the expression function vs declaration declares a function declaration is that we said all functions! There's any subtle difference in appreciate of declarations and expressions First solve all. Function name in curly braces, it still does? Chapter 15 Functions. And the difference between a function declaration and function expression foo is a function declaration aka a function statement JavaScript. JavaScript function statements and function expressions are two ways. And javascript as seen in your email address alignment, then last one of having its own body, and more time reading our service and can. Another difference between function expressions and function declarations is that. A brief explanation of the difference between a function declaration and a function expression in JavaScript.
    [Show full text]
  • Spoj, Topcoder, Github Í Experience May 2014 – Software Engineering Intern, Google, New York
    2609 Orchard Ave Los Angeles, CA-90007 Krishna Bharadwaj H +1 310-691-4078 B [email protected] Spoj, TopCoder, Github Í www.krishnabharadwaj.info Experience May 2014 – Software Engineering Intern, Google, New York. Present Worked on the inline browse data computation for git repositories Sep 2012 – Co-founder & Technology Lead, SMERGERS, Bangalore. Jul 2013 SMERGERS is a SME focused Mergers & Acquisitions Platform. Aug 2011 – Full stack Web Developer, BlockBeacon, PricePoint, Bangalore. Aug 2012 Worked remotely with startups in Santa Monica and San Francisco as an independent consultant. Aug 2011 – Founder & Developer, Refer a Geek, Bangalore. Sep 2012 Refer a Geek aimed at bringing the Referral model of recruting beyond any one company. Jul 2009 – Software Engineer, National Instruments India R&D, Bangalore. Jun 2011 Designed and developed physical layer algorithms for WCDMA/HSPA+ in LabVIEW. Education Fall 2013 – Masters in Computer Science, University of Southern California, Los Angeles. Present Student Programmer, Information Sciences Institute(USC) - Working with Dr. Mehdi Yahyanejad June 2009 BE, Information Science, B. M. S. College of Engineering, Bangalore. Microsoft Student Partner, Placement Coordinator & BMS Linux Users Group. Technical Skills & Interests Programming C/C++, Python, LabVIEW, PHP, Javascript Expertise Data Structures & Algorithms – Spoj, TopCoder, Github Databases MySQL, Oracle, MongoDB Web Dev HTML, CSS, jQuery, Django, CodeIgniter OS Windows & Linux system administraton A Others Qt, NumPy, Matplotlib, LTEX
    [Show full text]