The top 5 comments on this video will get change to get any one of our online classes for free of cost. The results will be announced on our Instagram page here - instagram.com/prepinsta2020/
@namrakhan27545 жыл бұрын
easier answer to that series question #include int main() { int num,output=0; int a=0, b=0; scanf("%d",&num); for(int i=1;i1) { a+=2; } if(i%2==0 && i>2) { b+=1; } } if(num%2!=0) output=a; else output=b; printf("%d",output); return 0; }
@sitadevimuthkhod30345 жыл бұрын
Instead of writing all 21 consonants 10:38, we can simply use the same condition check as: if it is a vowel, do nothing, else b[i]='#';
@omkarhandrale33045 жыл бұрын
But the thing is that ..you will not be able to pass all the test cases how means if you enter the digits in string for that also that will consider as the character as per your code so that it will replace the number with the character.. That is #..so the test case will fail..that's why he wrote like that..
@mathslogic77695 жыл бұрын
@@omkarhandrale3304 what if we check the character is within the range a to z ,using the same comparison used on case 3 capitalization
@rocker40373 жыл бұрын
Correct✓✓
@sumanmodak78595 жыл бұрын
for the constants are replaced by '#' part don't use that long line of if statement. Instead use for(j=0; j
@dhrutijoshi37015 жыл бұрын
what does a2.length mean ? can you explain ..please
@sumanmodak78595 жыл бұрын
@@dhrutijoshi3701 it will take the length of the string that is taken in the a2 variable.
@prudhvi94405 жыл бұрын
Instead of writing all the consonents in if loop we can write (b[j]!=a||b[j]!=e .......) for replacing consonents with #.
@John-vt4tr4 жыл бұрын
Instead of writing all the consonants, wouldn't it be a better approach to see if it's NOT vowels.?
@krantdarshi17653 жыл бұрын
instead of writing all 21 consonant we can write if(arr2[n]!=char1 && arr2[n]!=char2 && arr2[n]!=char3 && arr2[n]!=char4 && arr2[n]!=char5) arr2[n]= '#'; that will do;
@zeniths8235 жыл бұрын
to select consonants you can do in a better way if any vowels come keep b[i]=b[i] else b[i]= '#'
@akankshasoni57584 жыл бұрын
Thank you :)
@kdpathak37025 жыл бұрын
sir the question with series 0021426384 i have done this way is this correct approach?my output is working #include int main() { int i,a=0,b=0,n; scanf("%d",&n); for(i=3;i
@pulkitmethaniya64713 жыл бұрын
Can we use stl in nqt exam??
@ITIndia504 жыл бұрын
The way to reach TCS is Prepinsta now, guys learn smartly with Prepinsta
@adithyas10355 жыл бұрын
All the best everyone ❤ !
@manoranjan47175 жыл бұрын
printf("%s%s%s",a,b,c) ; //Don't leave space btwn %s printf("home work completed");
@DbmWorld5 жыл бұрын
Like the step wise solution of coding section.Atulya sir make videos which are easy to understand. If don't know coding much still you can relate. Thank you
@whattheif42705 жыл бұрын
Question 2 was there in my TCS NQT 2019 exam
@jaygupta28395 жыл бұрын
dear prepinsta. Can you let me know about one query... in The second coding question that you took you are taking b = a/2 when i is a factor of 2. Cant we do this thing that we increase the value of b by 1 every time? Please reply to this ASAP
@ashishkulkarni23505 жыл бұрын
For concatenation use Strcat(a,b); Strcat(a,c); Printf("%s",a);
@harshitsomani88635 жыл бұрын
I think for vowels not only small letters(a, e, i,o,u) but also we need to take capital letters(A, E, I, O, U)
@himanshuruwali27835 жыл бұрын
Me as a student, thoroughly congratulates prepinsta for their endeavor to provide free placement curriculum to the students
@harshdubey8095 жыл бұрын
One of the best teacher i have ever studied from. Thanks sir for such a help. Previously it seemed so hard and now its seems so easy after this training. Thanks again!!
@vishwanath-ts5 жыл бұрын
You would have used inbuilt function to convert to upper case there was no condition not to use inbuilt function!!
@aakanshapatil19325 жыл бұрын
Hello sir i have a good knowledge of python as compare to c and c++ and i am fresher also having knowledge of hadoop and ml can i sit in tcs process for hadoop or ml if they hier freshers for this
@makaveli83365 жыл бұрын
Please answer me.....I'm a 2019 batch B.Tech(CSE) student....and I have 1st to 7th sem mark sheet with above 70% ....But due to family problem I was unable to give my 8th sem practical ...so I didn't have my 8th sem mark sheet...and my college faculty told me to wait for next year for my practical exam......and i have applied for this exam but I'm not sure whether they select me or not after I cleared this exam???...
@Astha60625 жыл бұрын
In next semester exam u have to appear for practical exam nd thn ur result will come after that...
@mohammedshafee55985 жыл бұрын
Initially I was thinking who is going to pay for crash course .I thought it wont help to crack .But after watching this one ,what an explanation .Definitely if another drive will be conducted I am ready to pay for it.pakka explanation...vera level.
@PrepInsta5 жыл бұрын
Please ask questions and doubts in the comment section if you have any :)
@invisiblestar61465 жыл бұрын
Is d coding time 20 mins or 30?! There r different info abt it in different sites. Also may I know d cutoff for the coding question as I'm weak at coding?!
@invisiblestar61465 жыл бұрын
Is there negative marking for any sections???
@saikishoredantam5 жыл бұрын
@@invisiblestar6146 30 min for coding section
@kaushaljoshi22555 жыл бұрын
The cutoff for CS and non-CS background is same?
@shashiram98894 жыл бұрын
Sir do you prepare the students for this coding round as well ?
@PrepInsta4 жыл бұрын
Yes we do
@sydharthydv5 жыл бұрын
If I’m selected in TCS, I’m giving you guys a bite of my first salary lol
@rohitreddy14784 жыл бұрын
Selected??
@jagbirsingh14485 жыл бұрын
sir in second condition we just check any letter is not equal to vowels then changes to #. so that we can save our time instead of writing the 21 conditions in if statement. please tell me i am correct or not...and thank you for such kind of efforts that's really helps me a lot.
@pruthvirajpatil78505 жыл бұрын
Best statergy before exam is given here .really helpful ☺👌👌
@rajanrocky72155 жыл бұрын
Nice sir... Plz upload more videos
@dharminderrawat45905 жыл бұрын
10:41 sir we can use NOT of VOWEL condition instead of writting all consonants!
@journey_withTB5 жыл бұрын
am very weak in coding section but want to make me strong me in this zone ...how can i download prepinsta material ... please help me
@hungama33625 жыл бұрын
You're the best atulya sir.....
@likhithareddy95 жыл бұрын
we cant use predefined methods or functions in the program then why using a predefined function(Strlen)
@kalyankumargade5 жыл бұрын
the way you explained is so good.the way solving the problem.which understand by any person even he/she don't no's the language .clear clarity concurrent explanation .i missed these many days .loved it
@MdFarhan-ge3wg5 жыл бұрын
Qualified fr superninja tnqt
@FutureAITrend5 жыл бұрын
I have given the exam but only 2 test case was successful will i not be selected due to it apti part was ok and programming cmq was also ok due to 2 test case will the sectional cut off be cleared ?plz reply very tensed
@SM-fb4qb5 жыл бұрын
great work this will help us very much.
@vasukurilakshmidurga27815 жыл бұрын
Super explanation and one more thing u r so handsome
@yaswanthreddy24935 жыл бұрын
Can u please upload videos for Accenture tests ,,please
@KeepIt-jm2vn4 жыл бұрын
Diploma students can apply this form plzzz reply
@sapnac32574 жыл бұрын
Im from mechanical branch ye 🔔 kuch nhi samaj ra 😂
@dannyweber18915 жыл бұрын
This TCS NQT 2020 which happened was so damn different than usual patten which was expected, complete nonsense!
@yogitathakur8434 жыл бұрын
Respected sir i want this code in java.......Can you provide me the same code in java
@subhankardutta60545 жыл бұрын
Sir, any information about slot 4's cut off (3rd aug) as you have "sources"
@poopify60385 жыл бұрын
Best channel for preparation of placements
@originalgangster78535 жыл бұрын
I got the question at 31:00 in my exam last year
@vishwanath-ts5 жыл бұрын
Did you get job at tcs? when they will announce the results after the exam?
@ssk71655 жыл бұрын
Sprv bro ,ur explanation is awesome, sprv
@debjeetmukherjee7915 жыл бұрын
Sir its a request can you please upload a video on how to find the maximum or minimum elements from a particular column or a row in matrices !
@PrepInsta5 жыл бұрын
That we have covered in our crash course
@PrepInsta5 жыл бұрын
That we have covered in our crash course
@akshaychauhan82545 жыл бұрын
Very well explained
@kavyau91625 жыл бұрын
Which python version is in TCS is it python 2 or python 3
@nihaltripathy80895 жыл бұрын
sir plz can u explain today tcs nqt coding question ,shift 3 ..
@AYUSH18885 жыл бұрын
Time given is 20 mins not 30 mins Prep Insta😂😂🙏
@sayanmercer11765 жыл бұрын
20 min for last year not for this year
@AYUSH18885 жыл бұрын
@@sayanmercer1176 Check the official mock test on TCS campus commune.. It's 20 mins
@nishath59055 жыл бұрын
@@AYUSH1888 carefully check the mock test given its last year's not this year's so it's mentioned 20 min but this year it's 30 min
@AYUSH18885 жыл бұрын
@@nishath5905 Okay
@shreymehrotra2995 жыл бұрын
Plz can u explain a coding question for reversing the LETTERS of the words but position of the words remains the same
@Akshay-jl7os5 жыл бұрын
Similar to tcs off campus 2019 (tcs off campus phase II) Whether it is coming up for 2020 any idea ??
@rajvardhansinghthakur64815 жыл бұрын
I bet that I won't be getting the free classes...... I know my fate... Well nice explanation 👌👌
@sagardhampalwar5 жыл бұрын
Already bought online class 😀
@sejaldashpute5 жыл бұрын
Helpful
@hindustanibhau70265 жыл бұрын
PrepInsta you're the best ..... So many videos were uploaded today
@nishantmagarde75985 жыл бұрын
Prepinsta has provided best study material at last moment. Thank You PrepInsta☺️ Thank you for the guidance!
@RohitSharma-pw5vv5 жыл бұрын
Thanks prepinsta this video was really really helpful
@bhanua90675 жыл бұрын
Question 3 came in my TCS NQT Exam
@Mr_the9tails5 жыл бұрын
I have purchased your 199 apti pack and I was awesome man..really keep it up
@nikhilmuriki46945 жыл бұрын
@prepinsta there is a mistake it is chance but you have by mistakely wrote change
@jatinsingh55035 жыл бұрын
Sir, I have a doubt will there be negative marking in the coding section??
@venkateshpuli81895 жыл бұрын
Yes
@nishath59055 жыл бұрын
No there is no negative marking in coding section neither in programming section as well
@nishath59055 жыл бұрын
There is negative marking only for aptitude and English which 0.33 negative marking
@venkateshpuli81895 жыл бұрын
@@nishath5905 yaaa only for quant and English. You will find on the screen whether the question is having a negative marking or not don't be worry bro
@rupamwani5 жыл бұрын
as a mechanical background , it is always tough to solve coding questions for me. but i think now i can solve! thank you
@sanketsutar25235 жыл бұрын
coding question is not solved , is there any chances in tcs ninja
@sohamsinha86705 жыл бұрын
Lol what a channel who doesn't even know about the exam pattern.. I don't see any questions or suggestions on advanced programming logic which came today..
@ashishmishra96625 жыл бұрын
Thank yo so much for back to back videos... Learnt alot from ur video
@himanshunikam62515 жыл бұрын
%s ma sa space nikal dho ho gaya concatenation
@techwrahul5 жыл бұрын
Great sir , as the time limit is increased, will difficulty increase so highly?
@Mm-zt1gk5 жыл бұрын
What about capital vowels and constanst in 1st question.
@anshuprakash50225 жыл бұрын
Why you are solving the same question,please solve other type of questions so that we can feel confident
@PrepInsta5 жыл бұрын
Sure
@SourabhSingh-zx1fh5 жыл бұрын
level should be some more high✌✌
@mainak_das5 жыл бұрын
sir arent these questions too easy??
@PrepInsta5 жыл бұрын
If you find them easy then you are at good track. Your practice is good
@mainak_das5 жыл бұрын
@@PrepInsta but sir I am just worried what if the question is like the ones that are given in competitive coding😅
@saikishoredantam5 жыл бұрын
Can anyone explain what we have to do when they given to take only one input in a single line as "how are you" for the first program. Input: how are you Output: h%wa#eYOU
@jasmeen30145 жыл бұрын
Does slot 3 in TCS NQT always comes as a difficult pattern?.. And slot 1 as the easiest one?!
@PrepInsta5 жыл бұрын
Not at all
@shivamsingh89335 жыл бұрын
Is TCS repeated questions that are asked in last year ?
@rajrana19972245 жыл бұрын
Best Video. Very nice Explanation. Keep it up!
@vibudhupadhyay41735 жыл бұрын
Woohoo This came as a drop in the middle of a battle , Thanks prepinsta