blankspace
BAN USER
Comments (3)
Reputation 10
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
Python code -
listA=[0,1,1,1,0,0,1,0,0,1]
countvalue=0
maxValue=0
for i in range(len(listA)):
#print(i)
if listA[i]==1:
countvalue=countvalue+1
else:
countvalue=0
if countvalue>maxValue:
maxValue=countvalue
print(maxValue)
Comment hidden because of low score. Click to expand.
0
of 0 vote
----Python code---
array1=[3,64,1,100,620,269,180]
arryLength=len(array1)
i=0
while i in range(arryLength-2):
i=i+1
if array1[i]<array1[i+1] and array1[i]>array1[i-1]:
print(array1[i])
else:
continue
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Here are some more test cases
- blankspace September 12, 20181) Call the app user and send notifications - check if notification is accessible
2) Check the app notifications on - mobile data, wifi, offline(airplane mode), low network area, car driving conditions
3) remove the sim card and test the app notifications
4) turn off the sounds, turn the sound and check notifications
5) some apps have premium and general users - check notifications for all such user based conditions
6) set up time based notifications - verify if they are correct (example - remainders app)
7) check if the location based notifications work
8) point an invalid/incorrect data source and verify notifications
9) If there are many notifications on user phone screen, check if this app's notifications are working properly(according to the mobile device brand, screen size)
10) perform multiple actions on mobile - play audio, play game etc and check if the app notification are disturbed
11) enable Bluetooth, hotspot and check the notifications