Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance

Tech Mahindra,

1405

write a vb script to check equal two 2*2 matrix

1038

What is an attribute?

353

How can you apply a DTD to an XML document?

357

What is XML DOM?

395

What is XQuery?

357

What is the meaning of version in XML?

381

What are the basic rules while writing XML?

318

What is well formed XML document?

355

What is XSL?

331

What is XPath in XML?

360

What are nested elements in XML?

343

What is CDATA?

352

What is an XML Schema?

373

What are the features of XML?

354


Un-Answered Questions { Scripts_Markup Code }

Write a function that takes as input a binary tree, and prints out each level of the tree on a newline. For example: a / b c / / d e f will output: a b c d e f

1317


What is the output when we execute list(“hello”)?

617


What is a valid XML document?

347


What is a StAX Parser?

336


Write a python program to swap the first and last value of a list?

503






Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

1843


create Drop-Down Navigation Menus

1695


What is a markup language?

369


Is there any way to open notepad within php?

1695


how to transform XML Data into HTML

1889


I am configuring my anaconda file in linux, i want to use as kickstart file, in post installation how can i edit file or change the content of file and save it.

1929


How to block double clicks

1615


Write a python program to check common letters in two input strings?

475


how to convert between arrays and strings

2097


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: