background preloader

Coderbyte

Coderbyte
Related:  Ladies Learning Code

The Python Standard Library — Python v2.7.2 documentation While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. It also describes some of the optional components that are commonly included in Python distributions. Python’s standard library is very extensive, offering a wide range of facilities as indicated by the long table of contents listed below. The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs by abstracting away platform-specifics into platform-neutral APIs.

ACMSolver :: Art of Programming Contest, Tips and Tricks. BuckysRoom - Free Educational Video Tutorials on Computer Programming, Web Design, Game Development and More! JSbooks - free javascript books O(N)CS Lessons The Python Tutorial — Python v2.7.2 documentation Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, and may be freely distributed. The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. For a description of standard objects and modules, see The Python Standard Library. The Glossary is also worth going through.

CS 97SI: Introduction to Competitive Programming Contests Course Information and Announcements Instructor: Jaehyun ParkStanford ACM-ICPC Coaches: Jaehyun Park, Andy Nguyen, Jerry Cain(Added on 8/21/2013) This class was taught in 2011-12 Winter. I'm getting a lot of emails asking if I'm teaching it again, but there is no plan to offer the course at the moment. Lecture slides Practice Problems All the problems below are from Peking Online Judge (POJ). Problems are classified into 10 different categories, and the lectures will cover essential algorithms and theoretical background for each particular category. The numbers in parentheses represent the difficulty of the problems (0: easiest, 10: hardest). Common coding mistakes Not initializing variablesUsing 32-bit integers instead of 64-bit onesUsing out-of-bound array indicesUsing a semicolon after a for loop for(i = 0; i < n; i++); some code Reusing the same variable in nested for loops for(i = 0; i < 1000; i++) for(i = 0; i < 10; i++) some code #define min(a, b) a<b? Writing cos(180) instead of cos(pi)

Site temporarily disabled · GitHub Pages 11 Great JavaScript Interview Questions and Answers The values will be logged in the following order: Let’s first explain the parts of this that are presumably more obvious: 1 and 4 are displayed first since they are logged by simple calls to console.log() without any delay 2 is displayed after 3 because 2 is being logged after a delay of 1000 msecs (i.e., 1 second) whereas 3 is being logged after a delay of 0 msecs. OK, fine. But if 3 is being logged after a delay of 0 msecs, doesn’t that mean that it is being logged right away? The answer has to do with properly understanding JavaScript events and timing. The browser has an event loop which checks the event queue and processes pending events. Similarly, setTimeout() also puts execution of its referenced function into the event queue if the browser is busy. When a value of zero is passed as the second argument to setTimeout(), it attempts to execute the specified function “as soon as possible”.

Introduction to Computer Science using Java This is a course in Java programming for beginners. It covers the fundamentals of programming, roughly the same material that is covered in a beginning programming course in a university or in a high school AP Computer Science course. For maximum benefit, go though these ../Java5/Notes interactively, thinking about and answering the question at the bottom of each page. There are about 20 pages per chapter. If you spend about 3 minutes per page each chapter will take about 60 minutes, or longer if you copy and run some of the programs. These Notes assume that you have a recent version of Java, available from Oracle, Inc. at and a text editor such as Notepad. For more about these .. A German translation of these .. A French translation of selected chapters is available at www.lifl.fr/~secq/IUT/JAVA/intro.html Here is very nice site (unrelated to this site) that allows you to practice Java programming on line:

PythonLearn - Self-paced learning Python

Related:  Coding/HacksProgramming