## Week 7 Quiz Answers | Introduction to Modern Application Development | Apr 2018

Due to some issues, We changed the option sequence of MCQs. So, kindly read all the options and then answer the question. 1) Which of the following commands is used to delete a remote branch: a) Git branch -D <branch> b) Git branch -d <branch> c) Git push origin :<branch> d) Git Read more…

## Week 5 | Programming Assignment | Programming, Data Structures and Algorithms using Python | Apr 2018

Problem Here are some basic facts about tennis scoring: A tennis match is made up of sets. A set is made up of games. To win a set, a player has to win 6 games with a difference of 2 games. At 6-6, there is often a special tie-breaker. In Read more…

## Week 4 | Programming Assignment Updated | Programming, Data Structures and Algorithms using Python | Apr 2018

Problems 1. Write a Python function histogram(l) that takes as input a list of integers with repetitions and returns a list of pairs as follows: For each number n that appears in l, there should be exactly one pair (n,r) in the list returned by the function, where r is Read more…

## Week 4 Quiz Answers | Introduction to Modern Application Development | Apr 2018

Please comment if you find any answer wrong or if there is any discrepancy. Thanks! 🙂 Here, we aim to please 😀 1) Which protocol’s headers are used for web app session management? a) HTTP b) TCP c) IP d) HTTPS Answer(s) : (a) HTTP and (d) HTTPS 2) XSS Read more…

## Week 4 Quiz Answers | Programming, Data Structures And Algorithms Using Python | Apr 2018

If you find any wrong answers, please comment below and we will get back to you. 1) Consider the following Python function. def mystery(l): if len(l) < 2: return (l) else: return (mystery(l[1:]) + [l[0]]) What does mystery([17,12,41,28,25]) return? Answer(s) : [25, 28, 41, 12, 17] 2) What is the Read more…

## Week 3 Quiz Answers Revised | Introduction to Modern Application Development | Apr 2018

1) Which of the following does not improve database write times? a) Normalising data to reduce amount of data to be written b) Using transactions for every database operation c) Removing unnecessary constraints d) Using a hard disk with faster write speeds Answer(s) : b) Using transactions for every database Read more…

## Donate to Hackademic | Credit/Debit Card | PayTM| Tez

Hello all, You can help our team by donating a little amount of payment for hosting and maintenance cost of our website. We would be really grateful to all of you who allow us to sustain and maintain this website free for everyone. To be able to do that, please Read more…

## Week 3 | Programming Assignment | Programming, Data Structures and Algorithms using Python | Apr 2018

Download Python File:- Raw File | Download (Please rename it to .py file once downloaded, for it to run) def alternating(l): if (len(l) > 1): if l[0] > l[1]: for i in range(len(l) – 1): if l[i] == l[i – 1]: return False if i % 2 == 0: if l[i] < Read more…

## Week 2 Quiz | Programming, Data Structures And Algorithms Using Python | Apr 2018

UPDATE TO ANSWER OF QUESTION 1 : PLEASE CHECK 1) One of the following 10 statements generates an error. Which one? (Your answer should be a number between 1 and 10.) x = [[7,8],3,”hello”,[6,8],”world”,17] # Line 1 z = [x[0],x[3]] # Line 2 y = x[0:50] # Line 3 w Read more…