RMK Coding Club

  • Home
  • Archive
  • Presentations
  • Amazon Problems
  • Python Workshop
  • Sep28, 2015

    Python Workshop

    We had a workshop on Python for all the third years. They were given hands-on training on various Python concepts.

  • Sep21, 2015

    Git Workshop

    The students of the coding club were taught about the basic of Git.

  • Sep24

    Think binary!

    Print the binary representation of the value stored in a character bit by bit. Each of the 8 bits should be printed in a new line. For example, if c is a character that has been assigned 10, then the output should be 1010(each bit in one new line).
    Solved by Ravali K, II year.

  • Sep16

    Decode the message - A problem from Codechef and Infosys Aspirations

    Given a string that contains a sequence of digits, find the hidden message. The cipher is based on the mobile keys. For example. a is coded as 2(since the key is to be pressed once for typing a), f is coded as 333, etc .
    Solved by Sivasubramanyam A, III year.

  • Sep10

    Abbreviations generator

    Given a string that contains words separated by spaces, create an abbreviation. Example for an input of "Chennai City Traffic Police", the output should be "CCTP".
    Solved by Lokeshwaran. K, II year.

  • Sep10

    Printing 0,01,010,0101..n pattern

    Get an input n from the user and print the pattern.
    Solved by Lokeshwaran. K, II year.

  • Aug27

    Check for palindrome formation

    Given a string of alphabets, determine whether a palindrome can be formed by rearranging the letters of the string. For example, the string ‘abaab’ can be rearranged as ‘ababa’ to form a palindrome whereas the string ‘acccaa’ cannot be rearranged to form a palindome.
    Solved by Sivasubramanyam A, III year.

  • Aug11

    Super ASCII

    Consider alphabets with ASCII values from 1 to 26. A word is said to be super ASCII if its characters occur the same number of times as their ASCII code. eg. ABB is a super ASCII word.(ASCII of A = 1, B = 2)
    Solved by Sivasubramanyam A, III year.

  • Aug11

    Length of the given string without using string functions

    Find and display the length of the given string(take "Hello!" for example). The code should satisfy the following criteria: No string functions. The code should be inside the main(). No functions are allowed. The program(inside the main() ) should be of only one line and contain only one semicolon.
    Solved by Sivasubramanyam A, III year.

  • Aug11

    Magic printing

    Write a program that prints ";" without using ";" in your program at all.
    Solved by Lokeshwaran. K, II year.

  • Aug11

    Even or Odd check

    Write a program that checks if the given number is odd or even without using any conditional operator or if..else.
    Solved by Sivasubramanyam A, III year.

  • Aug11

    Day of the week

    Get an input no. from the user(between 1-7) and print the corresponding day of the week. The usage of if and switch is not allowed.
    Solved by Lokeshwaran. K, II year.

  • Aug11

    Number to words

    Get an input no. from the user(between 0-9) and print the number in words. The usage of if and switch is not allowed.
    Solved by Lokeshwaran. K, II year.