Fill all the mandatory columns. Gate Exam number is the number of Gate Registration in Gate Score Card. Fill it all details automatically fetched . Fill permanent address and all others stuffs .
For Document upload .
Step 1: Click on attachment name it will ask for file location , Select it
Step 2: Choose Document Type (e.g. Bank Passbook , Gate Score Card etc )
Step 3: Click on + icon , and repeat Step 1 , 2 ,3 .
And at last Submit it .
Congratulations , you will receive stipend Soon😃.
--------------------------
Be careful of below things
1. Your bank account should be linked by Aadhar .
2. Bank Account should not be minor .
3. Your name , bank account name , aadhar name should be matched .
while amount>0: for i in range(0,len(notes)): if amount>=notes[i]: print("RS",notes[i]," , ",int(amount/notes[i])," Notes Requires") amount=amount%notes[i];
Iterative Method (Stack is implemented here ,using Linked List )
Tower of Hanoi is a mathematical puzzle. It consists of three poles and a number of disks of different sizes which can slide onto any poles.
The puzzle starts with the disk in a neat stack in ascending order of size in one pole, the smallest at the top thus making a conical shape.
The objective of the puzzle is to move all the disks from one pole (say ‘source pole’) to another pole (say ‘destination pole’) with the help of third pole (say auxiliary pole).
The puzzle has the following two rules:
1. You can’t place a larger disk onto smaller disk
2. Only one disk can be moved at a time
For n disks, total 2n – 1 moves are required.
Iterative Algorithm:
1. Calculate the total number of moves required i.e. "pow(2, n) - 1" here
n is number of disks.
2. If number of disks (i.e. n) is even then interchange destination
pole and auxiliary pole.
3. for i = 1 to total number of moves:
if i%3 == 1:
legal movement of top disk between source pole and
destination pole
if i%3 == 2:
legal movement top disk between source pole and
auxiliary pole
if i%3 == 0:
legal movement top disk between auxiliary pole
and destination pole
Code is below :
// C Program for Iterative Tower of Hanoi
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
// A structure to represent a stack
struct Stack
{
unsigned capacity;
int top;
int *array;
};
void moveDisk(char , char , int );
// function to create a stack of given capacity.
struct Stack* createStack(unsigned capacity)
{
struct Stack* stack =
(struct Stack*) malloc(sizeof(struct Stack));
stack -> capacity = capacity;
stack -> top = -1;
stack -> array =
(int*) malloc(stack -> capacity * sizeof(int));
return stack;
}
// Stack is full when top is equal to the last index
int isFull(struct Stack* stack)
{
return (stack->top == stack->capacity - 1);
}
// Stack is empty when top is equal to -1
int isEmpty(struct Stack* stack)
{
return (stack->top == -1);
}
// Function to add an item to stack. It increases
// top by 1
void push(struct Stack *stack, int item)
{
if (isFull(stack))
return;
stack -> array[++stack -> top] = item;
}
// Function to remove an item from stack. It
// decreases top by 1
int pop(struct Stack* stack)
{
if (isEmpty(stack))
return INT_MIN;
return stack -> array[stack -> top--];
}
// Function to implement legal movement between
// two poles
void moveDisksBetweenTwoPoles(struct Stack *src,
struct Stack *dest, char s, char d)
{
int pole1TopDisk = pop(src);
int pole2TopDisk = pop(dest);
// When pole 1 is empty
if (pole1TopDisk == INT_MIN)
{
push(src, pole2TopDisk);
moveDisk(d, s, pole2TopDisk);
}
// When pole2 pole is empty
else if (pole2TopDisk == INT_MIN)
{
push(dest, pole1TopDisk);
moveDisk(s, d, pole1TopDisk);
}
// When top disk of pole1 > top disk of pole2
else if (pole1TopDisk > pole2TopDisk)
{
push(src, pole1TopDisk);
push(src, pole2TopDisk);
moveDisk(d, s, pole2TopDisk);
}
// When top disk of pole1 < top disk of pole2
else
{
push(dest, pole2TopDisk);
push(dest, pole1TopDisk);
moveDisk(s, d, pole1TopDisk);
}
}
//Function to show the movement of disks
void moveDisk(char fromPeg, char toPeg, int disk)
{
printf("Move the disk %d from \'%c\' to \'%c\'\n",
disk, fromPeg, toPeg);
}
//Function to implement TOH puzzle
void tohIterative(int num_of_disks, struct Stack
*src, struct Stack *aux,
struct Stack *dest)
{
int i, total_num_of_moves;
char s = 'S', d = 'D', a = 'A';
//If number of disks is even, then interchange
//destination pole and auxiliary pole
if (num_of_disks % 2 == 0)
{
char temp = d;
d = a;
a = temp;
}
total_num_of_moves = pow(2, num_of_disks) - 1;
//Larger disks will be pushed first
for (i = num_of_disks; i >= 1; i--)
push(src, i);
for (i = 1; i <= total_num_of_moves; i++)
{
if (i % 3 == 1)
moveDisksBetweenTwoPoles(src, dest, s, d);
else if (i % 3 == 2)
moveDisksBetweenTwoPoles(src, aux, s, a);
else if (i % 3 == 0)
moveDisksBetweenTwoPoles(aux, dest, a, d);
}
}
// Driver Program
int main()
{
// Input: number of disks
unsigned num_of_disks = 8;
struct Stack *src, *dest, *aux;
// Create three stacks of size 'num_of_disks'
// to hold the disks
src = createStack(num_of_disks);
aux = createStack(num_of_disks);
dest = createStack(num_of_disks);
The machine will dominant this world one day . Human nature is curious ,always search for something .
He does the experiment and in experiment he knows his objective but in ML not outcome .
Human has limitation , he has an emotion . Emotion puts always big effect in taking decision . While in the case of machine , emotion is absent . Human brain works as a parallel computing , we compute lot of data at a time .
Problem1 : Write a script in shell or in python , which is able to store 50 commands which you have previous entered through terminal and execute each command .
Problem 2: Execute the program that will read the file content and print those content adding with line number and arranged in the alphabetical order
Problem 3: Read a file of 20 lines , information then print with line number and another file print only word list with their frequency of occurance and character counts in each word as another description of the word into the third file .
========= Solutions
=========
Solution 1: Shell script
Step 1:Open terminal type Step 2 Code .
Step 2: ( We assume you have typed 50 commands through terminal )
fc -ln -50 > abc.sh
Description : The fc command is a command line utility for listing, editing and re-executing commands previously entered into an interactive shell. Above command will save 50 previous commands into abc.sh
from collections import Counter
#open the file
filepath =open('xyz.txt')
#code 1
#store all file in lines
lines=filepath.readlines()
list=[]
#call till 20 values
for i in range(20):
#retrieve each line
String=lines[i]
print(i+1,":",String)
#split each word
words = String.split()
list.extend(words)
#print(words)
#print(list)
c=Counter(list)
c.values()
print("Word Frequency Count")
for key,value in c.items():
string=key
print(key,value,len(string)-string.count(' '))
Apple’s mobile operating system, iOS, contains a number of different features developed over its many versions and iterations since 2007. Many such features were, when first developed and introduced by Apple, lauded as innovative, even groundbreaking advances. The following sections detail the features introduced with the various iOS versions.
i) iPhone OS (iOS 1)
Touchscreen: Apple includes a screen that responds to finger presses and swipes
Pinch-to-Zoom: User can pinch the screen to zoom the view in or out
Apple Safari web browser: A mobile version of Apple’s Web browser
Itunes compatibility: USB connection to iTunes enabled computerTouchscreen keyboard: A touchscreen keyboard replaces physical buttons, allowing a much larger screen without sacrificing device compactness
Hidden file system: Unlike with a computer, the user cannot directly access the files present on the device
Home button: A button present on the front of the device allows user to return there from any app at any time
Home screen web snippets: A quick view of the web is present on the home screen
Multitouch keyboard: Keyboard can accept more than a single button press at a time
Re-arrange home screen icons
Wi-fi iTunes purchases: The user can make purchases from the device
ii) iPhone OS 2 (iOS 2)
App store: The user can purchase apps from Apple
Support for 3rd party apps: Users and companies can develop apps
iOS Developer Kit: Code used to develop apps for third party support is available
Contact search: Can search contacts by name
Microsoft Exchange support: Push email and other features have support
iTunes Genius support: Playlists created by iTunes based on past music
Podcast downloads: Audio files downloadable from 3rd parties (audio books, web shows, etc.)
Google Street View: Can view streets and maps from iPhone
iii) iPhone OS 3 (iOS 3)
Copy/Paste capability: Text selectable to copy and paste
Spotlight search: Can search a web page with keywords
USB/Bluetooth tethering: Other mobile device scan access internet through iPhone
Landscape keyboard: iPhone can be turned horizontally to make a two-fingered keyboard
Find my iPhone: iPhone can be located and shutdown or wiped clean
Voice control: iPhone can respond to voice commands such as call or send message (pre-Siri)
Voice control over Bluetooth: User can use
Bluetooth device to input voice commands
Downloadable ringtones: New ringtones available for the iPhone
Remote lock: Device can be shut off using mobile.me
iv) iphone iOS 4
Multitasking: iPhone cannot run background apps, but can receive certain notifications from apps
VideoChat: Can communicate through videos using iPhone
Retina Display: iPhone display enhanced
Threaded email: Email similar to text message threads in their display
Game center: An organization app used to place all games in one place
TV show rentals: iPhone can now display TV shows
iTunes Ping: Social network specifically tailored to music
Verion availability: iPhone now available to Verizon users
3G tethering: iPhone becomes hotspot for Wi-Fi enabled devices
v) iphone iOS 5
Siri: Enhanced and interactive voice control
PC-free: Device can be activated without a computer
Notification center: A drop down notification center for organizing app actions
iTunes Wi-Fi Sync: iPhone can share data back and forth with iTunes
iCloud: A network the user can setup to connect all their Apple devices
iMessage: Apple’s texting app
vi) iphone iOS 6
Updates to Siri, FaceTime over cellular
Photo Stream over iCloud
Better sharing options throughout iOS
Remodelling of the App Stores enhanced Safari with iCloud tabs
VIP mail on the native Mail app and more emoji
New calling features, allowing you to set a reminder to call back or reply with a text message.
vii) iphone iOS7
New design
IOS camera app
Itunes Radio
Apple control centre
Notification bar
Smart multi-tasking
Air Drop.
viii) iphone iOS 8
Elegant and intuitive interface.
Built-in features and apps that make your device –and you – more capable.
With the App Store, there’s almost no limit to what your iOS device can do.
iCloud. Everything you need.Anywhere you need it.
Easy to update.
Safety and security come standard.
Accessibility built in.
Switch languages on the fly.
IV Software upgrades
Although Google does update Android frequently, someusers may find that they do not receive the updates on their phone, or even purchase phones with out-of-date software.
Phone manufacturers decide whether and when to offer software upgrades. They may not offer an upgrade to the latest version of Android for all the phones and tablets in their product line. Even when an upgrade is offered, it is usually several months after the new version of Android has been released.
This is one area where iOS users have an advantage. iOS upgrades are generally available to all iOS devices.There could be exceptions for devices older than three years, or for certain features like Siri, which was available for iPhone 4S users but not for older versions of iPhone. Apple cites hardware capability as the reason some older devices may not receive all new features inan upgrade.V Building and Publishing Apps for iOS vs. Android .
Android apps are programmed using C, C++ and Java.It is an "open" platform; anyone can download the Android source code and Android SDK for free.Anyone can create and distribute Android apps for free;users are free to download apps from outside the official Google Play store. There is, however, a onetime $25 registration fee for developers who want to publish their apps (whether free or paid apps) on the official Google Play store. Apps published on Google Play undergo a review by Google. TheAndroid SDK is available for all platforms - Mac, PC and Linux.
iOS apps are programmed using Objective-C.Developers must pay $99 every year for access to the iOS SDK and the right to publish in Apple's app store. The iOS SDK is only available for the Mac platform. Some app development platforms - such as TitaniumAppcelerator and PhoneGap - offer a way to code once(say in JavaScript and/or HTML) and have the platformconvert it into "native" code for both Android and iOSplatforms.